FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  netmap_input_trace_t
 

Macros

#define foreach_netmap_input_error
 

Enumerations

enum  netmap_input_error_t { NETMAP_INPUT_N_ERROR }
 

Functions

static u8format_netmap_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 netmap_device_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, netmap_if_t *nif)
 
static uword netmap_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * netmap_input_error_strings []
 
vlib_node_registration_t netmap_input_node
 (constructor) VLIB_REGISTER_NODE (netmap_input_node) More...
 

Macro Definition Documentation

#define foreach_netmap_input_error

Definition at line 31 of file node.c.

Enumeration Type Documentation

Enumerator
NETMAP_INPUT_N_ERROR 

Definition at line 33 of file node.c.

Function Documentation

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

Definition at line 71 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 55 of file node.c.

+ Here is the call graph for this function:

static uword netmap_device_input_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
netmap_if_t nif 
)
inlinestatic

Definition at line 89 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 258 of file node.c.

+ Here is the call graph for this function:

Variable Documentation

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

Definition at line 41 of file node.c.

vlib_node_registration_t netmap_input_node
Initial value:
= {
.function = netmap_input_fn,
.name = "netmap-input",
.sibling_of = "device-input",
.format_trace = format_netmap_input_trace,
.state = VLIB_NODE_STATE_INTERRUPT,
.n_errors = NETMAP_INPUT_N_ERROR,
.error_strings = netmap_input_error_strings,
}
static char * netmap_input_error_strings[]
Definition: node.c:41
static uword netmap_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:258
static u8 * format_netmap_input_trace(u8 *s, va_list *args)
Definition: node.c:55

(constructor) VLIB_REGISTER_NODE (netmap_input_node)

Definition at line 280 of file node.c.