FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
dhcp6_pd_client_dp.h File Reference
+ Include dependency graph for dhcp6_pd_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_pd_send_client_message_params_prefix_t
 
struct  dhcp6_pd_send_client_message_params_t
 
struct  dhcp6_pd_client_state_t
 
struct  dhcp6_pd_client_main_t
 
struct  dhcp6_prefix_info_t
 
struct  prefix_report_t
 
struct  dhcp6_pd_client_public_main_t
 

Macros

#define VNET_DHCP6_PD_REPLY_EVENT_FUNCTION(f)
 

Enumerations

enum  { DHCP6_PD_DP_REPLY_REPORT, DHCP6_PD_DP_REPORT_MAX }
 

Functions

void dhcp6_pd_send_client_message (vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_pd_send_client_message_params_t *params)
 
void dhcp6_pd_set_publisher_node (uword node_index, uword event_type)
 
int dhcp6_pd_publish_report (prefix_report_t *r)
 
int dhcp6_pd_client_enable_disable (u32 sw_if_index, const u8 *prefix_group, u8 enable)
 
int dhcp6_cp_ip6_address_add_del (u32 sw_if_index, const u8 *prefix_group, ip6_address_t address, u8 prefix_length, u8 is_add)
 

Variables

dhcp6_pd_client_main_t dhcp6_pd_client_main
 
vlib_node_registration_t dhcp6_pd_reply_process_node
 (constructor) VLIB_REGISTER_NODE (dhcp6_pd_reply_process_node) More...
 
dhcp6_pd_client_public_main_t dhcp6_pd_client_public_main
 

Macro Definition Documentation

◆ VNET_DHCP6_PD_REPLY_EVENT_FUNCTION

#define VNET_DHCP6_PD_REPLY_EVENT_FUNCTION (   f)
Value:
\
static void __vnet_dhcp6_pd_reply_event_function_init_##f (void) \
__attribute__((__constructor__)) ; \
\
static void __vnet_dhcp6_pd_reply_event_function_init_##f (void) \
{ \
dhcp6_pd_client_public_main_t * nm = &dhcp6_pd_client_public_main; \
static _vnet_dhcp6_pd_reply_event_function_list_elt_t init_function; \
init_function.next_dhcp6_pd_reply_event_function = nm->functions; \
nm->functions = &init_function; \
init_function.fp = (void *) &f; \
} \
\
static void __vnet_dhcp6_pd_reply_event_function_deinit_##f (void) \
__attribute__((__destructor__)) ; \
\
static void __vnet_dhcp6_pd_reply_event_function_deinit_##f (void) \
{ \
dhcp6_pd_client_public_main_t * nm = &dhcp6_pd_client_public_main; \
_vnet_dhcp6_pd_reply_event_function_list_elt_t *next; \
if (nm->functions->fp == (void *) &f) \
{ \
nm->functions = \
nm->functions->next_dhcp6_pd_reply_event_function; \
return; \
} \
next = nm->functions; \
while (next->next_dhcp6_pd_reply_event_function) \
{ \
if (next->next_dhcp6_pd_reply_event_function->fp == (void *) &f) \
{ \
next->next_dhcp6_pd_reply_event_function = \
next->next_dhcp6_pd_reply_event_function->next_dhcp6_pd_reply_event_function; \
return; \
} \
next = next->next_dhcp6_pd_reply_event_function; \
} \
}
_vnet_dhcp6_pd_reply_event_function_list_elt_t * functions
dhcp6_pd_client_public_main_t dhcp6_pd_client_public_main

Definition at line 124 of file dhcp6_pd_client_dp.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DHCP6_PD_DP_REPLY_REPORT 
DHCP6_PD_DP_REPORT_MAX 

Definition at line 105 of file dhcp6_pd_client_dp.h.

Function Documentation

◆ dhcp6_cp_ip6_address_add_del()

int dhcp6_cp_ip6_address_add_del ( u32  sw_if_index,
const u8 prefix_group,
ip6_address_t  address,
u8  prefix_length,
u8  is_add 
)

Definition at line 955 of file dhcp6_pd_client_cp.c.

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

◆ dhcp6_pd_client_enable_disable()

int dhcp6_pd_client_enable_disable ( u32  sw_if_index,
const u8 prefix_group,
u8  enable 
)

Definition at line 1233 of file dhcp6_pd_client_cp.c.

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

◆ dhcp6_pd_publish_report()

int dhcp6_pd_publish_report ( prefix_report_t r)

Definition at line 48 of file dhcp6_pd_client_dp.c.

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

◆ dhcp6_pd_send_client_message()

void dhcp6_pd_send_client_message ( vlib_main_t vm,
u32  sw_if_index,
u8  stop,
dhcp6_pd_send_client_message_params_t params 
)

Definition at line 364 of file dhcp6_pd_client_dp.c.

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

◆ dhcp6_pd_set_publisher_node()

void dhcp6_pd_set_publisher_node ( uword  node_index,
uword  event_type 
)

Definition at line 56 of file dhcp6_pd_client_dp.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ dhcp6_pd_client_main

dhcp6_pd_client_main_t dhcp6_pd_client_main

Definition at line 28 of file dhcp6_pd_client_dp.c.

◆ dhcp6_pd_client_public_main

dhcp6_pd_client_public_main_t dhcp6_pd_client_public_main

Definition at line 29 of file dhcp6_pd_client_dp.c.

◆ dhcp6_pd_reply_process_node

vlib_node_registration_t dhcp6_pd_reply_process_node

(constructor) VLIB_REGISTER_NODE (dhcp6_pd_reply_process_node)

Definition at line 829 of file dhcp_api.c.