FD.io VPP  v19.01.1-17-ge106252
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   _(PARTIAL_PKT, "partial packet")
 

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_always_inline void mark_tcp_udp_cksum_calc (vlib_buffer_t *b)
 
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   _(PARTIAL_PKT, "partial packet")

Definition at line 32 of file node.c.

Enumeration Type Documentation

Enumerator
AF_PACKET_INPUT_N_ERROR 

Definition at line 35 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 177 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 349 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 94 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 58 of file node.c.

+ Here is the call graph for this function:

static_always_inline void mark_tcp_udp_cksum_calc ( vlib_buffer_t b)

Definition at line 112 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller 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:32

Definition at line 43 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:349
static char * af_packet_input_error_strings[]
Definition: node.c:43
static u8 * format_af_packet_input_trace(u8 *s, va_list *args)
Definition: node.c:58

(constructor) VLIB_REGISTER_NODE (af_packet_input_node)

Definition at line 369 of file node.c.