FD.io VPP  v20.01-48-g3e0dafb74
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" ) \
DROP
Definition: error.def:41

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.

+ Here is the call graph for this function:

◆ 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_next_nodes = PPPOE_CP_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_pppoe_cp_trace,
}
unsigned int u32
Definition: types.h:88
static u8 * format_pppoe_cp_trace(u8 *s, va_list *args)
Definition: pppoe_cp_node.c:43
#define foreach_pppoe_cp_next
Definition: pppoe_cp_node.c:22

(constructor) VLIB_REGISTER_NODE (pppoe_cp_dispatch_node)

Definition at line 235 of file pppoe_cp_node.c.