FD.io VPP  v20.09-64-g4f7b92f0a
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")
DROP
Definition: error.def:41

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

Function Documentation

◆ dhcp6_clients_enable_disable()

void dhcp6_clients_enable_disable ( u8  enable)

Definition at line 447 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 121 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 109 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 53 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 28 of file dhcp6_client_common_dp.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ client_duid

Definition at line 25 of file dhcp6_client_common_dp.c.

◆ dhcp6_client_common_main

dhcp6_client_common_main_t dhcp6_client_common_main

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