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

Go to the source code of this file.

Data Structures

struct  pppoe_cp_trace_t
 

Macros

#define foreach_pppoe_cp_next
 

Enumerations

enum  pppoe_cp_next_t { PPPOE_CP_N_NEXT }
 

Functions

static u8format_pppoe_cp_trace (u8 *s, va_list *args)
 
VLIB_NODE_FN() pppoe_cp_dispatch_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

vlib_node_registration_t pppoe_cp_dispatch_node
 (constructor) VLIB_REGISTER_NODE (pppoe_cp_dispatch_node) More...
 

Macro Definition Documentation

◆ foreach_pppoe_cp_next

#define foreach_pppoe_cp_next
Value:
_(DROP, "error-drop") \
_(INTERFACE, "interface-output" ) \

Definition at line 22 of file pppoe_cp_node.c.

Enumeration Type Documentation

◆ pppoe_cp_next_t

Enumerator
PPPOE_CP_N_NEXT 

Definition at line 26 of file pppoe_cp_node.c.

Function Documentation

◆ format_pppoe_cp_trace()

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

Definition at line 43 of file pppoe_cp_node.c.

◆ pppoe_cp_dispatch_node()

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

Definition at line 67 of file pppoe_cp_node.c.

+ Here is the call graph for this function:

Variable Documentation

◆ pppoe_cp_dispatch_node

vlib_node_registration_t pppoe_cp_dispatch_node
Initial value:
= {
.name = "pppoe-cp-dispatch",
.vector_size = sizeof (u32),
.n_errors = PPPOE_N_ERROR,
.error_strings = pppoe_error_strings,
.n_next_nodes = PPPOE_CP_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_pppoe_cp_trace,
}

(constructor) VLIB_REGISTER_NODE (pppoe_cp_dispatch_node)

Definition at line 238 of file pppoe_cp_node.c.

PPPOE_N_ERROR
@ PPPOE_N_ERROR
Definition: pppoe.h:94
foreach_pppoe_cp_next
#define foreach_pppoe_cp_next
Definition: pppoe_cp_node.c:22
pppoe_error_strings
char * pppoe_error_strings[]
Definition: pppoe_decap.c:462
format_pppoe_cp_trace
static u8 * format_pppoe_cp_trace(u8 *s, va_list *args)
Definition: pppoe_cp_node.c:43
DROP
DROP
Definition: error.def:41
PPPOE_CP_N_NEXT
@ PPPOE_CP_N_NEXT
Definition: pppoe_cp_node.c:31
u32
unsigned int u32
Definition: types.h:88