FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
pppoe_decap.c File Reference
+ Include dependency graph for pppoe_decap.c:

Go to the source code of this file.

Data Structures

struct  pppoe_rx_trace_t
 

Macros

#define pppoe_error(n, s)   s,
 

Functions

static u8format_pppoe_rx_trace (u8 *s, va_list *args)
 
VLIB_NODE_FN() pppoe_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
 VNET_FEATURE_INIT (pppoe_input_node, static)
 

Variables

char * pppoe_error_strings []
 
vlib_node_registration_t pppoe_input_node
 (constructor) VLIB_REGISTER_NODE (pppoe_input_node) More...
 

Macro Definition Documentation

◆ pppoe_error

#define pppoe_error (   n,
 
)    s,

Function Documentation

◆ format_pppoe_rx_trace()

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

Definition at line 29 of file pppoe_decap.c.

◆ pppoe_input_node()

VLIB_NODE_FN() pppoe_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 48 of file pppoe_decap.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( pppoe_input_node  ,
static   
)

Variable Documentation

◆ pppoe_error_strings

char* pppoe_error_strings[]
Initial value:
= {
#define pppoe_error(n,s)
}

Definition at line 462 of file pppoe_decap.c.

◆ pppoe_input_node

vlib_node_registration_t pppoe_input_node
Initial value:
= {
.name = "pppoe-input",
.vector_size = sizeof (u32),
.n_errors = PPPOE_N_ERROR,
.error_strings = pppoe_error_strings,
.n_next_nodes = PPPOE_INPUT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_pppoe_rx_trace,
}

(constructor) VLIB_REGISTER_NODE (pppoe_input_node)

Definition at line 470 of file pppoe_decap.c.

PPPOE_N_ERROR
@ PPPOE_N_ERROR
Definition: pppoe.h:94
format_pppoe_rx_trace
static u8 * format_pppoe_rx_trace(u8 *s, va_list *args)
Definition: pppoe_decap.c:29
pppoe_error_strings
char * pppoe_error_strings[]
Definition: pppoe_decap.c:462
u32
unsigned int u32
Definition: types.h:88
PPPOE_INPUT_N_NEXT
@ PPPOE_INPUT_N_NEXT
Definition: pppoe.h:86
foreach_pppoe_input_next
#define foreach_pppoe_input_next
Definition: pppoe.h:75