X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fplugins%2Fdhcp%2Fdhcp6_client_common_dp.h;fp=src%2Fvnet%2Fdhcp%2Fdhcp6_client_common_dp.h;h=4010aa075646ef2f0d45046f82a143309fcacbf6;hp=0acef8408c63c1fc94111c6c237ee2610c9d315e;hb=02bfd641b;hpb=2c41a61d5fc87737b9b46b88cb9271d0f987721e diff --git a/src/vnet/dhcp/dhcp6_client_common_dp.h b/src/plugins/dhcp/dhcp6_client_common_dp.h similarity index 72% rename from src/vnet/dhcp/dhcp6_client_common_dp.h rename to src/plugins/dhcp/dhcp6_client_common_dp.h index 0acef8408c6..4010aa07564 100644 --- a/src/vnet/dhcp/dhcp6_client_common_dp.h +++ b/src/plugins/dhcp/dhcp6_client_common_dp.h @@ -17,27 +17,7 @@ #define included_vnet_dhcp6_client_common_dp_h #include -#include -#include -#include -#include -#include - -#define vl_typedefs /* define message structures */ -#include -#undef vl_typedefs - -#define vl_endianfun /* define message structures */ -#include -#undef vl_endianfun - -/* instantiate all the print functions we know about */ -#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) -#define vl_printfun -#include -#undef vl_printfun - -#include +#include typedef struct { @@ -82,11 +62,7 @@ extern dhcpv6_duid_ll_string_t client_duid; void dhcp6_clients_enable_disable (u8 enable); u32 server_index_get_or_create (u8 * data, u16 len); -#define vl_typedefs /* define message structures */ -#include -#undef vl_typedefs - -void vl_api_dhcp6_duid_ll_set_t_handler (vl_api_dhcp6_duid_ll_set_t * mp); +extern dhcpv6_duid_ll_string_t client_duid; static_always_inline f64 random_f64_from_to (f64 from, f64 to)