FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  af_packet_input_trace_t
 

Macros

#define foreach_af_packet_input_error
 

Enumerations

enum  af_packet_input_error_t { AF_PACKET_INPUT_N_ERROR }
 

Functions

static u8format_af_packet_input_trace (u8 *s, va_list *args)
 
static void buffer_add_to_chain (vlib_main_t *vm, u32 bi, u32 first_bi, u32 prev_bi)
 
static uword af_packet_device_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, af_packet_if_t *apif)
 
static uword af_packet_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * af_packet_input_error_strings []
 
vlib_node_registration_t af_packet_input_node
 (constructor) VLIB_REGISTER_NODE (af_packet_input_node) More...
 

Macro Definition Documentation

#define foreach_af_packet_input_error

Definition at line 31 of file node.c.

Enumeration Type Documentation

Enumerator
AF_PACKET_INPUT_N_ERROR 

Definition at line 33 of file node.c.

Function Documentation

static uword af_packet_device_input_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
af_packet_if_t apif 
)
inlinestatic

Definition at line 110 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword af_packet_input_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 246 of file node.c.

+ Here is the call graph for this function:

static void buffer_add_to_chain ( vlib_main_t vm,
u32  bi,
u32  first_bi,
u32  prev_bi 
)
inlinestatic

Definition at line 92 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 56 of file node.c.

+ Here is the call graph for this function:

Variable Documentation

char* af_packet_input_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_af_packet_input_error
Definition: node.c:31

Definition at line 41 of file node.c.

vlib_node_registration_t af_packet_input_node
Initial value:
= {
.function = af_packet_input_fn,
.name = "af-packet-input",
.sibling_of = "device-input",
.state = VLIB_NODE_STATE_INTERRUPT,
}
static uword af_packet_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:246
static char * af_packet_input_error_strings[]
Definition: node.c:41
static u8 * format_af_packet_input_trace(u8 *s, va_list *args)
Definition: node.c:56

(constructor) VLIB_REGISTER_NODE (af_packet_input_node)

Definition at line 266 of file node.c.