FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
dhcp6_ia_na_client_dp.h File Reference
+ Include dependency graph for dhcp6_ia_na_client_dp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dhcp6_send_client_message_params_address_t
 
struct  dhcp6_send_client_message_params_t
 
struct  dhcp6_ia_na_client_state_t
 
struct  dhcp6_ia_na_client_main_t
 
struct  dhcp6_address_info_t
 
struct  address_report_t
 
struct  dhcp6_ia_na_client_public_main_t
 

Macros

#define VNET_DHCP6_REPLY_EVENT_FUNCTION(f)
 

Enumerations

enum  { DHCP6_DP_REPLY_REPORT, DHCP6_DP_REPORT_MAX }
 

Functions

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)
 
int dhcp6_client_enable_disable (u32 sw_if_index, u8 enable)
 

Variables

dhcp6_ia_na_client_main_t dhcp6_ia_na_client_main
 
vlib_node_registration_t dhcp6_reply_process_node
 (constructor) VLIB_REGISTER_NODE (dhcp6_reply_process_node) More...
 
dhcp6_ia_na_client_public_main_t dhcp6_ia_na_client_public_main
 

Macro Definition Documentation

◆ VNET_DHCP6_REPLY_EVENT_FUNCTION

#define VNET_DHCP6_REPLY_EVENT_FUNCTION (   f)
Value:
\
static void __vnet_dhcp6_reply_event_function_init_##f (void) \
__attribute__((__constructor__)) ; \
\
static void __vnet_dhcp6_reply_event_function_init_##f (void) \
{ \
dhcp6_ia_na_client_public_main_t * nm = &dhcp6_ia_na_client_public_main; \
static _vnet_dhcp6_reply_event_function_list_elt_t init_function; \
init_function.next_dhcp6_reply_event_function = nm->functions; \
nm->functions = &init_function; \
init_function.fp = (void *) &f; \
} \
\
static void __vnet_dhcp6_reply_event_function_deinit_##f (void) \
__attribute__((__destructor__)) ; \
\
static void __vnet_dhcp6_reply_event_function_deinit_##f (void) \
{ \
dhcp6_ia_na_client_public_main_t * nm = &dhcp6_ia_na_client_public_main; \
_vnet_dhcp6_reply_event_function_list_elt_t *next; \
if (nm->functions->fp == (void *) &f) \
{ \
nm->functions = \
nm->functions->next_dhcp6_reply_event_function; \
return; \
} \
next = nm->functions; \
while (next->next_dhcp6_reply_event_function) \
{ \
if (next->next_dhcp6_reply_event_function->fp == (void *) &f) \
{ \
next->next_dhcp6_reply_event_function = \
next->next_dhcp6_reply_event_function->next_dhcp6_reply_event_function; \
return; \
} \
next = next->next_dhcp6_reply_event_function; \
} \
}
_vnet_dhcp6_reply_event_function_list_elt_t * functions
dhcp6_ia_na_client_public_main_t dhcp6_ia_na_client_public_main

Definition at line 117 of file dhcp6_ia_na_client_dp.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DHCP6_DP_REPLY_REPORT 
DHCP6_DP_REPORT_MAX 

Definition at line 99 of file dhcp6_ia_na_client_dp.h.

Function Documentation

◆ dhcp6_client_enable_disable()

int dhcp6_client_enable_disable ( u32  sw_if_index,
u8  enable 
)

Definition at line 614 of file dhcp6_ia_na_client_cp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp6_publish_report()

int dhcp6_publish_report ( address_report_t r)

Definition at line 48 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp6_send_client_message()

void dhcp6_send_client_message ( vlib_main_t vm,
u32  sw_if_index,
u8  stop,
dhcp6_send_client_message_params_t params 
)

Definition at line 358 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dhcp6_set_publisher_node()

void dhcp6_set_publisher_node ( uword  node_index,
uword  event_type 
)

Definition at line 56 of file dhcp6_ia_na_client_dp.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ dhcp6_ia_na_client_main

dhcp6_ia_na_client_main_t dhcp6_ia_na_client_main

Definition at line 28 of file dhcp6_ia_na_client_dp.c.

◆ dhcp6_ia_na_client_public_main

dhcp6_ia_na_client_public_main_t dhcp6_ia_na_client_public_main

Definition at line 29 of file dhcp6_ia_na_client_dp.c.

◆ dhcp6_reply_process_node

vlib_node_registration_t dhcp6_reply_process_node

(constructor) VLIB_REGISTER_NODE (dhcp6_reply_process_node)

Definition at line 731 of file dhcp_api.c.