FD.io VPP  v20.05.1-6-gf53edbc3b
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)
 

Variables

static 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 30 of file pppoe_decap.c.

+ Here is the call graph for this function:

◆ 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 49 of file pppoe_decap.c.

+ Here is the call graph for this function:

Variable Documentation

◆ pppoe_error_strings

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

Definition at line 393 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,
}
static u8 * format_pppoe_rx_trace(u8 *s, va_list *args)
Definition: pppoe_decap.c:30
#define foreach_pppoe_input_next
Definition: pppoe.h:75
static char * pppoe_error_strings[]
Definition: pppoe_decap.c:393
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (pppoe_input_node)

Definition at line 400 of file pppoe_decap.c.