FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
dhcp_client_detect.c File Reference
+ Include dependency graph for dhcp_client_detect.c:

Go to the source code of this file.

Data Structures

struct  dhcp_client_detect_trace_t_
 per-packet trace data More...
 

Macros

#define foreach_dhcp_client_detect   _(EXTRACT, "Extract")
 

Typedefs

typedef struct dhcp_client_detect_trace_t_ dhcp_client_detect_trace_t
 per-packet trace data More...
 

Enumerations

enum  dhcp_client_detect_error_t { DHCP_CLIENT_DETECT_N_ERROR }
 
enum  dhcp_client_detect_next_t { DHCP_CLIENT_DETECT_N_NEXT }
 

Functions

static uword dhcp_client_detect_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static u8format_dhcp_client_detect_trace (u8 *s, va_list *args)
 
 VLIB_NODE_FUNCTION_MULTIARCH (dhcp_client_detect_node, dhcp_client_detect_node_fn)
 
 VNET_FEATURE_INIT (ip4_dvr_reinject_feat_node, static)
 

Variables

static char * dhcp_client_detect_error_strings []
 
vlib_node_registration_t dhcp_client_detect_node
 (constructor) VLIB_REGISTER_NODE (dhcp_client_detect_node) More...
 

Macro Definition Documentation

#define foreach_dhcp_client_detect   _(EXTRACT, "Extract")

Definition at line 21 of file dhcp_client_detect.c.

Typedef Documentation

per-packet trace data

Enumeration Type Documentation

Enumerator
DHCP_CLIENT_DETECT_N_ERROR 

Definition at line 24 of file dhcp_client_detect.c.

Enumerator
DHCP_CLIENT_DETECT_N_NEXT 

Definition at line 38 of file dhcp_client_detect.c.

Function Documentation

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

Definition at line 56 of file dhcp_client_detect.c.

+ Here is the call graph for this function:

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

Definition at line 277 of file dhcp_client_detect.c.

+ Here is the call graph for this function:

VLIB_NODE_FUNCTION_MULTIARCH ( dhcp_client_detect_node  ,
dhcp_client_detect_node_fn   
)
VNET_FEATURE_INIT ( ip4_dvr_reinject_feat_node  ,
static   
)

Variable Documentation

char* dhcp_client_detect_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_dhcp_client_detect

Definition at line 32 of file dhcp_client_detect.c.

vlib_node_registration_t dhcp_client_detect_node
Initial value:
= {
.name = "ip4-dhcp-client-detect",
.vector_size = sizeof (u32),
.n_next_nodes = DHCP_CLIENT_DETECT_N_NEXT,
.next_nodes = {
[DHCP_CLIENT_DETECT_NEXT_EXTRACT] = "ip4-udp-lookup",
},
}
static uword dhcp_client_detect_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
unsigned int u32
Definition: types.h:88
static u8 * format_dhcp_client_detect_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:61
static char * dhcp_client_detect_error_strings[]

(constructor) VLIB_REGISTER_NODE (dhcp_client_detect_node)

Definition at line 290 of file dhcp_client_detect.c.