FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
pppoe_tap_node.c File Reference
+ Include dependency graph for pppoe_tap_node.c:

Go to the source code of this file.

Data Structures

struct  pppoe_tap_trace_t
 

Macros

#define foreach_pppoe_tap_next
 

Enumerations

enum  pppoe_tap_next_t { PPPOE_TAP_N_NEXT }
 

Functions

static u8format_pppoe_tap_trace (u8 *s, va_list *args)
 
static_always_inline void pppoe_learn_process (vlib_node_runtime_t *node, pppoe_main_t *pem, vlib_buffer_t *b0, u32 sw_if_index0, pppoe_entry_key_t *key0, pppoe_entry_key_t *cached_key, u32 *bucket0, pppoe_entry_result_t *result0)
 Perform learning on one packet based on the mac table lookup result. More...
 
static uword pppoe_tap_dispatch (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

vlib_node_registration_t pppoe_tap_dispatch_node
 (constructor) VLIB_REGISTER_NODE (pppoe_tap_dispatch_node) More...
 

Macro Definition Documentation

#define foreach_pppoe_tap_next
Value:
_(DROP, "error-drop") \
_(TUNTAP, "tuntap-tx" ) \
_(INTERFACE, "interface-output" ) \
DROP
Definition: error.def:41

Definition at line 24 of file pppoe_tap_node.c.

Enumeration Type Documentation

Enumerator
PPPOE_TAP_N_NEXT 

Definition at line 29 of file pppoe_tap_node.c.

Function Documentation

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

Definition at line 46 of file pppoe_tap_node.c.

+ Here is the call graph for this function:

static_always_inline void pppoe_learn_process ( vlib_node_runtime_t node,
pppoe_main_t pem,
vlib_buffer_t b0,
u32  sw_if_index0,
pppoe_entry_key_t key0,
pppoe_entry_key_t cached_key,
u32 bucket0,
pppoe_entry_result_t result0 
)

Perform learning on one packet based on the mac table lookup result.

Definition at line 74 of file pppoe_tap_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 112 of file pppoe_tap_node.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_node_registration_t pppoe_tap_dispatch_node
Initial value:
= {
.function = pppoe_tap_dispatch,
.name = "pppoe-tap-dispatch",
.vector_size = sizeof (u32),
.n_next_nodes = PPPOE_TAP_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_pppoe_tap_trace,
}
static uword pppoe_tap_dispatch(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static u8 * format_pppoe_tap_trace(u8 *s, va_list *args)
#define foreach_pppoe_tap_next
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (pppoe_tap_dispatch_node)

Definition at line 22 of file pppoe_tap_node.c.