FD.io VPP  v19.08.3-2-gbabecb413
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 107 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 111 of file dhcp6_client_common_dp.c.

Function Documentation

◆ dhcp6_clients_enable_disable()

void dhcp6_clients_enable_disable ( u8  enable)

Definition at line 459 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 139 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 127 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 71 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 27 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 477 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 52 of file dhcp6_client_common_dp.c.

Variable Documentation

◆ client_duid

Definition at line 24 of file dhcp6_client_common_dp.c.

◆ dhcp6_client_common_main

dhcp6_client_common_main_t dhcp6_client_common_main

Definition at line 23 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 440 of file dhcp6_client_common_dp.c.