X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fplugins%2Fdhcp%2Fdhcp6_ia_na_client_dp.h;fp=src%2Fvnet%2Fdhcp%2Fdhcp6_ia_na_client_dp.h;h=88a6b75ecdd76b68ce5d08a1861fbdb92fca373d;hp=a866479fbafa9768662f05dcaadce58ca0004bdb;hb=02bfd641b;hpb=2c41a61d5fc87737b9b46b88cb9271d0f987721e diff --git a/src/vnet/dhcp/dhcp6_ia_na_client_dp.h b/src/plugins/dhcp/dhcp6_ia_na_client_dp.h similarity index 92% rename from src/vnet/dhcp/dhcp6_ia_na_client_dp.h rename to src/plugins/dhcp/dhcp6_ia_na_client_dp.h index a866479fbaf..88a6b75ecdd 100644 --- a/src/vnet/dhcp/dhcp6_ia_na_client_dp.h +++ b/src/plugins/dhcp/dhcp6_ia_na_client_dp.h @@ -16,8 +16,9 @@ #ifndef included_vnet_dhcp6_client_dp_h #define included_vnet_dhcp6_client_dp_h -#include -#include +#include + +#include typedef struct { @@ -87,31 +88,19 @@ typedef struct dhcp6_address_info_t *addresses; } address_report_t; -#define vl_typedefs /* define message structures */ -#include -#undef vl_typedefs - void dhcp6_send_client_message (vlib_main_t * vm, u32 sw_if_index, u8 stop, dhcp6_send_client_message_params_t * params); void dhcp6_set_publisher_node (uword node_index, uword event_type); int dhcp6_publish_report (address_report_t * r); - - -void - vl_api_want_dhcp6_reply_events_t_handler - (vl_api_want_dhcp6_reply_events_t * mp); -void - vl_api_dhcp6_send_client_message_t_handler - (vl_api_dhcp6_send_client_message_t * mp); -void - vl_api_dhcp6_clients_enable_disable_t_handler - (vl_api_dhcp6_clients_enable_disable_t * mp); +int dhcp6_client_enable_disable (u32 sw_if_index, u8 enable); extern vlib_node_registration_t dhcp6_reply_process_node; enum { DHCP6_DP_REPLY_REPORT, DHCP6_DP_REPORT_MAX }; +#include + typedef struct _vnet_dhcp6_reply_function_list_elt { struct _vnet_dhcp6_reply_function_list_elt *next_dhcp6_reply_event_function;