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

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

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

Function Documentation

◆ dhcp6_clients_enable_disable()

void dhcp6_clients_enable_disable ( u8  enable)

Definition at line 448 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 122 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 110 of file dhcp6_client_common_dp.c.

◆ generate_client_duid()

static void generate_client_duid ( void  )
static

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

+ Here is the caller graph for this function:

Variable Documentation

◆ client_duid

Definition at line 26 of file dhcp6_client_common_dp.c.

◆ dhcp6_client_common_main

dhcp6_client_common_main_t dhcp6_client_common_main

Definition at line 25 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,
}

(constructor) VLIB_REGISTER_NODE (dhcpv6_client_node)

Definition at line 429 of file dhcp6_client_common_dp.c.

dhcpv6_client_node_fn
static uword dhcpv6_client_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: dhcp6_client_common_dp.c:122
DROP
DROP
Definition: error.def:41
DHCPV6_CLIENT_N_NEXT
@ DHCPV6_CLIENT_N_NEXT
Definition: dhcp6_client_common_dp.c:99
format_dhcpv6_client_trace
static u8 * format_dhcpv6_client_trace(u8 *s, va_list *args)
Definition: dhcp6_client_common_dp.c:110
foreach_dhcpv6_client
#define foreach_dhcpv6_client
Definition: dhcp6_client_common_dp.c:90
u32
unsigned int u32
Definition: types.h:88