FD.io VPP  v19.08.3-2-gbabecb413
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

VLIB_NODE_FN() dhcp_client_detect_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static u8format_dhcp_client_detect_trace (u8 *s, va_list *args)
 
 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

◆ foreach_dhcp_client_detect

#define foreach_dhcp_client_detect   _(EXTRACT, "Extract")

Definition at line 21 of file dhcp_client_detect.c.

Typedef Documentation

◆ dhcp_client_detect_trace_t

per-packet trace data

Enumeration Type Documentation

◆ dhcp_client_detect_error_t

Enumerator
DHCP_CLIENT_DETECT_N_ERROR 

Definition at line 24 of file dhcp_client_detect.c.

◆ dhcp_client_detect_next_t

Enumerator
DHCP_CLIENT_DETECT_N_NEXT 

Definition at line 38 of file dhcp_client_detect.c.

Function Documentation

◆ dhcp_client_detect_node()

VLIB_NODE_FN() dhcp_client_detect_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 55 of file dhcp_client_detect.c.

+ Here is the call graph for this function:

◆ format_dhcp_client_detect_trace()

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:

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( ip4_dvr_reinject_feat_node  ,
static   
)

Variable Documentation

◆ dhcp_client_detect_error_strings

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.

◆ dhcp_client_detect_node

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",
},
}
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static u8 * format_dhcp_client_detect_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:63
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.