FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  ipip_rx_trace_t
 

Macros

#define foreach_ipip_input_next
 

Enumerations

enum  ipip_input_next_t { IPIP_INPUT_N_NEXT }
 

Functions

static u8format_ipip_rx_trace (u8 *s, va_list *args)
 
static uword ipip_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, bool is_ipv6)
 
VLIB_NODE_FN() ipip4_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
VLIB_NODE_FN() ipip6_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

static char * ipip_error_strings []
 
vlib_node_registration_t ipip4_input_node
 (constructor) VLIB_REGISTER_NODE (ipip4_input_node) More...
 
vlib_node_registration_t ipip6_input_node
 (constructor) VLIB_REGISTER_NODE (ipip6_input_node) More...
 

Macro Definition Documentation

#define foreach_ipip_input_next
Value:
_(PUNT, "error-punt") \
_(DROP, "error-drop") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input")
DROP
Definition: error.def:41

Definition at line 25 of file node.c.

Enumeration Type Documentation

Enumerator
IPIP_INPUT_N_NEXT 

Definition at line 31 of file node.c.

Function Documentation

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

Definition at line 49 of file node.c.

+ Here is the call graph for this function:

VLIB_NODE_FN() ipip4_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 219 of file node.c.

+ Here is the call graph for this function:

VLIB_NODE_FN() ipip6_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 225 of file node.c.

+ Here is the call graph for this function:

static uword ipip_input ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame,
bool  is_ipv6 
)
inlinestatic

Definition at line 62 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t ipip4_input_node
Initial value:
= {
.name = "ipip4-input",
.vector_size = sizeof(u32),
.n_errors = IPIP_N_ERROR,
.error_strings = ipip_error_strings,
.n_next_nodes = IPIP_INPUT_N_NEXT,
.next_nodes =
{
#define _(s, n)
},
.format_trace = format_ipip_rx_trace,
}
#define foreach_ipip_input_next
Definition: node.c:25
static char * ipip_error_strings[]
Definition: node.c:231
unsigned int u32
Definition: types.h:88
static u8 * format_ipip_rx_trace(u8 *s, va_list *args)
Definition: node.c:49

(constructor) VLIB_REGISTER_NODE (ipip4_input_node)

Definition at line 238 of file node.c.

vlib_node_registration_t ipip6_input_node
Initial value:
= {
.name = "ipip6-input",
.vector_size = sizeof(u32),
.n_errors = IPIP_N_ERROR,
.error_strings = ipip_error_strings,
.n_next_nodes = IPIP_INPUT_N_NEXT,
.next_nodes =
{
#define _(s, n)
},
.format_trace = format_ipip_rx_trace,
}
#define foreach_ipip_input_next
Definition: node.c:25
static char * ipip_error_strings[]
Definition: node.c:231
unsigned int u32
Definition: types.h:88
static u8 * format_ipip_rx_trace(u8 *s, va_list *args)
Definition: node.c:49

(constructor) VLIB_REGISTER_NODE (ipip6_input_node)

Definition at line 254 of file node.c.

char* ipip_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ipip_error
Definition: ipip.h:29

Definition at line 231 of file node.c.