FD.io VPP  v21.10.1-2-g0a485f517
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.

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)
 
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...
 

Function Documentation

◆ check_send_client_message()

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

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

◆ create_buffer_for_client_message()

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 82 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_client_init()

static clib_error_t* dhcp6_client_init ( vlib_main_t vm)
static

Definition at line 403 of file dhcp6_ia_na_client_dp.c.

+ Here is the call 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:

◆ 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 
)
static

Definition at line 307 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:

◆ signal_report()

static void signal_report ( address_report_t r)
static

Definition at line 32 of file dhcp6_ia_na_client_dp.c.

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

◆ stop_sending_client_message()

static void stop_sending_client_message ( vlib_main_t vm,
dhcp6_ia_na_client_state_t client_state 
)
static

Definition at line 64 of file dhcp6_ia_na_client_dp.c.

+ Here is the call graph for this function:
+ 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.

◆ send_dhcp6_client_message_process_node

vlib_node_registration_t send_dhcp6_client_message_process_node
static
Initial value:
= {
.name = "send-dhcp6-client-message-process",
}

(constructor) VLIB_REGISTER_NODE (send_dhcp6_client_message_process_node)

Definition at line 350 of file dhcp6_ia_na_client_dp.c.

VLIB_NODE_TYPE_PROCESS
@ VLIB_NODE_TYPE_PROCESS
Definition: node.h:84
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)
Definition: dhcp6_ia_na_client_dp.c:307