FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
dhcp6_client_common_dp.c File Reference
+ Include dependency graph for dhcp6_client_common_dp.c:

Go to the source code of this file.

Data Structures

struct  dhcpv6_client_trace_t_
 per-packet trace data More...
 

Macros

#define foreach_dhcpv6_client
 

Typedefs

typedef struct dhcpv6_client_trace_t_ dhcpv6_client_trace_t
 per-packet trace data More...
 

Enumerations

enum  dhcpv6_client_next_t { DHCPV6_CLIENT_N_NEXT }
 

Functions

u32 server_index_get_or_create (u8 *data, u16 len)
 
void vl_api_dhcp6_duid_ll_set_t_handler (vl_api_dhcp6_duid_ll_set_t *mp)
 
static void generate_client_duid (void)
 
static u8format_dhcpv6_client_trace (u8 *s, va_list *args)
 
static uword dhcpv6_client_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
void dhcp6_clients_enable_disable (u8 enable)
 
void vl_api_dhcp6_clients_enable_disable_t_handler (vl_api_dhcp6_clients_enable_disable_t *mp)
 

Variables

dhcp6_client_common_main_t dhcp6_client_common_main
 
dhcpv6_duid_ll_string_t client_duid
 
static vlib_node_registration_t dhcpv6_client_node
 (constructor) VLIB_REGISTER_NODE (dhcpv6_client_node) More...
 

Macro Definition Documentation

◆ foreach_dhcpv6_client

#define foreach_dhcpv6_client
Value:
_(DROP, "error-drop") \
_(LOOKUP, "ip6-lookup")
DROP
Definition: error.def:41

Definition at line 106 of file dhcp6_client_common_dp.c.

Typedef Documentation

◆ dhcpv6_client_trace_t

per-packet trace data

Enumeration Type Documentation

◆ dhcpv6_client_next_t

Enumerator
DHCPV6_CLIENT_N_NEXT 

Definition at line 110 of file dhcp6_client_common_dp.c.

Function Documentation

◆ dhcp6_clients_enable_disable()

void dhcp6_clients_enable_disable ( u8  enable)

Definition at line 458 of file dhcp6_client_common_dp.c.

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

◆ dhcpv6_client_node_fn()

static uword dhcpv6_client_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 138 of file dhcp6_client_common_dp.c.

+ Here is the call graph for this function:

◆ format_dhcpv6_client_trace()

static u8* format_dhcpv6_client_trace ( u8 s,
va_list *  args 
)
static

Definition at line 126 of file dhcp6_client_common_dp.c.

+ Here is the call graph for this function:

◆ generate_client_duid()

static void generate_client_duid ( void  )
static

Definition at line 70 of file dhcp6_client_common_dp.c.

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

◆ server_index_get_or_create()

u32 server_index_get_or_create ( u8 data,
u16  len 
)

Definition at line 26 of file dhcp6_client_common_dp.c.

+ Here is the caller graph for this function:

◆ vl_api_dhcp6_clients_enable_disable_t_handler()

void vl_api_dhcp6_clients_enable_disable_t_handler ( vl_api_dhcp6_clients_enable_disable_t mp)

Definition at line 476 of file dhcp6_client_common_dp.c.

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

◆ vl_api_dhcp6_duid_ll_set_t_handler()

void vl_api_dhcp6_duid_ll_set_t_handler ( vl_api_dhcp6_duid_ll_set_t mp)

Definition at line 51 of file dhcp6_client_common_dp.c.

Variable Documentation

◆ client_duid

Definition at line 23 of file dhcp6_client_common_dp.c.

◆ dhcp6_client_common_main

dhcp6_client_common_main_t dhcp6_client_common_main

Definition at line 22 of file dhcp6_client_common_dp.c.

◆ dhcpv6_client_node

vlib_node_registration_t dhcpv6_client_node
static
Initial value:
= {
.function = dhcpv6_client_node_fn,
.name = "dhcpv6-client",
.vector_size = sizeof (u32),
.n_errors = 0,
.n_next_nodes = DHCPV6_CLIENT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_dhcpv6_client_trace,
}
#define foreach_dhcpv6_client
unsigned int u32
Definition: types.h:88
static uword dhcpv6_client_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_dhcpv6_client_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (dhcpv6_client_node)

Definition at line 439 of file dhcp6_client_common_dp.c.