16 #ifndef included_vnet_dhcp6_client_dp_h 17 #define included_vnet_dhcp6_client_dp_h 115 typedef struct _vnet_dhcp6_reply_function_list_elt
117 struct _vnet_dhcp6_reply_function_list_elt *next_dhcp6_reply_event_function;
119 } _vnet_dhcp6_reply_event_function_list_elt_t;
128 #define VNET_DHCP6_REPLY_EVENT_FUNCTION(f) \ 130 static void __vnet_dhcp6_reply_event_function_init_##f (void) \ 131 __attribute__((__constructor__)) ; \ 133 static void __vnet_dhcp6_reply_event_function_init_##f (void) \ 135 dhcp6_ia_na_client_public_main_t * nm = &dhcp6_ia_na_client_public_main; \ 136 static _vnet_dhcp6_reply_event_function_list_elt_t init_function; \ 137 init_function.next_dhcp6_reply_event_function = nm->functions; \ 138 nm->functions = &init_function; \ 139 init_function.fp = (void *) &f; \ 142 static void __vnet_dhcp6_reply_event_function_deinit_##f (void) \ 143 __attribute__((__destructor__)) ; \ 145 static void __vnet_dhcp6_reply_event_function_deinit_##f (void) \ 147 dhcp6_ia_na_client_public_main_t * nm = &dhcp6_ia_na_client_public_main; \ 148 _vnet_dhcp6_reply_event_function_list_elt_t *next; \ 149 if (nm->functions->fp == (void *) &f) \ 152 nm->functions->next_dhcp6_reply_event_function; \ 155 next = nm->functions; \ 156 while (next->next_dhcp6_reply_event_function) \ 158 if (next->next_dhcp6_reply_event_function->fp == (void *) &f) \ 160 next->next_dhcp6_reply_event_function = \ 161 next->next_dhcp6_reply_event_function->next_dhcp6_reply_event_function; \ 164 next = next->next_dhcp6_reply_event_function; \ Enable/disable listening on DHCPv6 client port.
vlib_node_registration_t dhcp6_reply_process_node
(constructor) VLIB_REGISTER_NODE (dhcp6_reply_process_node)
void dhcp6_send_client_message(vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_send_client_message_params_t *params)
_vnet_dhcp6_reply_event_function_list_elt_t * functions
u8 keep_sending_client_message
void vl_api_want_dhcp6_reply_events_t_handler(vl_api_want_dhcp6_reply_events_t *mp)
int dhcp6_publish_report(address_report_t *r)
void dhcp6_set_publisher_node(uword node_index, uword event_type)
vl_api_interface_index_t sw_if_index
Send DHCPv6 client message of specified type.
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)
dhcp6_ia_na_client_state_t * client_state_by_sw_if_index
dhcp6_send_client_message_params_address_t * addresses
dhcp6_send_client_message_params_t params
Tell client about a DHCPv6 server reply event.
struct _vlib_node_registration vlib_node_registration_t
VLIB buffer representation.
dhcp6_address_info_t * addresses
Register for DHCPv6 reply events.
dhcp6_report_common_t body
dhcp6_ia_na_client_main_t dhcp6_ia_na_client_main
dhcp6_ia_na_client_public_main_t dhcp6_ia_na_client_public_main