FD.io VPP  v18.01-8-g0eacf49
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)
 
static uword pppoe_input (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

#define pppoe_error (   n,
 
)    s,

Function Documentation

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:

static uword pppoe_input ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 50 of file pppoe_decap.c.

+ Here is the call graph for this function:

Variable Documentation

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

Definition at line 394 of file pppoe_decap.c.

vlib_node_registration_t pppoe_input_node
Initial value:
= {
.function = pppoe_input,
.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:72
static uword pppoe_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: pppoe_decap.c:50
static char * pppoe_error_strings[]
Definition: pppoe_decap.c:394
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (pppoe_input_node)

Definition at line 401 of file pppoe_decap.c.