FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
dhcp6_ia_na_client_dp.c File Reference
+ Include dependency graph for dhcp6_ia_na_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 (address_report_t *r)
 
int dhcp6_publish_report (address_report_t *r)
 
void dhcp6_set_publisher_node (uword node_index, uword event_type)
 
static void stop_sending_client_message (vlib_main_t *vm, dhcp6_ia_na_client_state_t *client_state)
 
static vlib_buffer_tcreate_buffer_for_client_message (vlib_main_t *vm, u32 sw_if_index, dhcp6_ia_na_client_state_t *client_state, u32 type)
 
static u8 check_send_client_message (vlib_main_t *vm, dhcp6_ia_na_client_state_t *client_state, f64 current_time, f64 *due_time)
 
static uword send_dhcp6_client_message_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f0)
 
void dhcp6_send_client_message (vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_send_client_message_params_t *params)
 
void vl_api_dhcp6_send_client_message_t_handler (vl_api_dhcp6_send_client_message_t *mp)
 
clib_error_tcall_dhcp6_reply_event_callbacks (void *data, _vnet_dhcp6_reply_event_function_list_elt_t *elt)
 
static uword dhcp6_reply_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
void vl_api_want_dhcp6_reply_events_t_handler (vl_api_want_dhcp6_reply_events_t *mp)
 
static clib_error_tdhcp6_client_init (vlib_main_t *vm)
 

Variables

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

Macro Definition Documentation

#define vl_endianfun   /* define message structures */

Definition at line 35 of file dhcp6_ia_na_client_dp.c.

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

Definition at line 40 of file dhcp6_ia_na_client_dp.c.

#define vl_printfun

Definition at line 41 of file dhcp6_ia_na_client_dp.c.

#define vl_typedefs   /* define message structures */

Definition at line 31 of file dhcp6_ia_na_client_dp.c.

Function Documentation

clib_error_t* call_dhcp6_reply_event_callbacks ( void *  data,
_vnet_dhcp6_reply_event_function_list_elt_t *  elt 
)

Definition at line 477 of file dhcp6_ia_na_client_dp.c.

+ Here is the caller graph for this function:

static u8 check_send_client_message ( vlib_main_t vm,
dhcp6_ia_na_client_state_t client_state,
f64  current_time,
f64 due_time 
)
inlinestatic

Definition at line 260 of file dhcp6_ia_na_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_ia_na_client_state_t client_state,
u32  type 
)
static

Definition at line 101 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* dhcp6_client_init ( vlib_main_t vm)
static

Definition at line 635 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

int dhcp6_publish_report ( address_report_t r)

Definition at line 67 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 495 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

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 388 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dhcp6_set_publisher_node ( uword  node_index,
uword  event_type 
)

Definition at line 75 of file dhcp6_ia_na_client_dp.c.

+ Here is the caller graph for this function:

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

Definition at line 337 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

static void signal_report ( address_report_t r)
static

Definition at line 51 of file dhcp6_ia_na_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_ia_na_client_state_t client_state 
)
static

Definition at line 83 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_api_dhcp6_send_client_message_t_handler ( vl_api_dhcp6_send_client_message_t mp)

Definition at line 434 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_api_want_dhcp6_reply_events_t_handler ( vl_api_want_dhcp6_reply_events_t mp)

Definition at line 588 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

Variable Documentation

dhcp6_ia_na_client_main_t dhcp6_ia_na_client_main

Definition at line 47 of file dhcp6_ia_na_client_dp.c.

dhcp6_ia_na_client_public_main_t dhcp6_ia_na_client_public_main

Definition at line 48 of file dhcp6_ia_na_client_dp.c.

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

(constructor) VLIB_REGISTER_NODE (dhcp6_reply_process_node)

Definition at line 579 of file dhcp6_ia_na_client_dp.c.

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

(constructor) VLIB_REGISTER_NODE (send_dhcp6_client_message_process_node)

Definition at line 380 of file dhcp6_ia_na_client_dp.c.