FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
dhcp6_pd_client_dp.c File Reference
+ Include dependency graph for dhcp6_pd_client_dp.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 

Functions

static void signal_report (prefix_report_t *r)
 
int dhcp6_pd_publish_report (prefix_report_t *r)
 
void dhcp6_pd_set_publisher_node (uword node_index, uword event_type)
 
static void stop_sending_client_message (vlib_main_t *vm, dhcp6_pd_client_state_t *client_state)
 
static vlib_buffer_tcreate_buffer_for_client_message (vlib_main_t *vm, u32 sw_if_index, dhcp6_pd_client_state_t *client_state, u32 type)
 
static u8 check_pd_send_client_message (vlib_main_t *vm, dhcp6_pd_client_state_t *client_state, f64 current_time, f64 *due_time)
 
static uword send_dhcp6_pd_client_message_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f0)
 
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 vl_api_dhcp6_pd_send_client_message_t_handler (vl_api_dhcp6_pd_send_client_message_t *mp)
 
static clib_error_tcall_dhcp6_pd_reply_event_callbacks (void *data, _vnet_dhcp6_pd_reply_event_function_list_elt_t *elt)
 
static uword dhcp6_pd_reply_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
void vl_api_want_dhcp6_pd_reply_events_t_handler (vl_api_want_dhcp6_pd_reply_events_t *mp)
 
static clib_error_tdhcp6_pd_client_init (vlib_main_t *vm)
 

Variables

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

Macro Definition Documentation

#define vl_endianfun   /* define message structures */

Definition at line 35 of file dhcp6_pd_client_dp.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 40 of file dhcp6_pd_client_dp.c.

#define vl_printfun

Definition at line 41 of file dhcp6_pd_client_dp.c.

#define vl_typedefs   /* define message structures */

Definition at line 31 of file dhcp6_pd_client_dp.c.

Function Documentation

static clib_error_t* call_dhcp6_pd_reply_event_callbacks ( void *  data,
_vnet_dhcp6_pd_reply_event_function_list_elt_t *  elt 
)
static

Definition at line 483 of file dhcp6_pd_client_dp.c.

+ Here is the caller graph for this function:

static u8 check_pd_send_client_message ( vlib_main_t vm,
dhcp6_pd_client_state_t client_state,
f64  current_time,
f64 due_time 
)
inlinestatic

Definition at line 261 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static vlib_buffer_t* create_buffer_for_client_message ( vlib_main_t vm,
u32  sw_if_index,
dhcp6_pd_client_state_t client_state,
u32  type 
)
static

Definition at line 101 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* dhcp6_pd_client_init ( vlib_main_t vm)
static

Definition at line 644 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

int dhcp6_pd_publish_report ( prefix_report_t r)

Definition at line 67 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword dhcp6_pd_reply_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 501 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

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 389 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dhcp6_pd_set_publisher_node ( uword  node_index,
uword  event_type 
)

Definition at line 75 of file dhcp6_pd_client_dp.c.

+ Here is the caller graph for this function:

static uword send_dhcp6_pd_client_message_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f0 
)
static

Definition at line 338 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

static void signal_report ( prefix_report_t r)
static

Definition at line 51 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stop_sending_client_message ( vlib_main_t vm,
dhcp6_pd_client_state_t client_state 
)
static

Definition at line 83 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_api_dhcp6_pd_send_client_message_t_handler ( vl_api_dhcp6_pd_send_client_message_t mp)

Definition at line 437 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_api_want_dhcp6_pd_reply_events_t_handler ( vl_api_want_dhcp6_pd_reply_events_t mp)

Definition at line 596 of file dhcp6_pd_client_dp.c.

+ Here is the call graph for this function:

Variable Documentation

dhcp6_pd_client_main_t dhcp6_pd_client_main

Definition at line 47 of file dhcp6_pd_client_dp.c.

dhcp6_pd_client_public_main_t dhcp6_pd_client_public_main

Definition at line 48 of file dhcp6_pd_client_dp.c.

vlib_node_registration_t dhcp6_pd_reply_process_node
Initial value:
= {
.name = "dhcp6-pd-reply-publisher-process",
}
static uword dhcp6_pd_reply_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)

(constructor) VLIB_REGISTER_NODE (dhcp6_pd_reply_process_node)

Definition at line 587 of file dhcp6_pd_client_dp.c.

vlib_node_registration_t send_dhcp6_pd_client_message_process_node
static
Initial value:
= {
.name = "send-dhcp6-pd-client-message-process",
}
static uword send_dhcp6_pd_client_message_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f0)

(constructor) VLIB_REGISTER_NODE (send_dhcp6_pd_client_message_process_node)

Definition at line 381 of file dhcp6_pd_client_dp.c.