FD.io VPP  v21.01.1
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

◆ foreach_ipip_input_next

#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

◆ ipip_input_next_t

Enumerator
IPIP_INPUT_N_NEXT 

Definition at line 31 of file node.c.

Function Documentation

◆ format_ipip_rx_trace()

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

Definition at line 49 of file node.c.

◆ ipip4_input_node()

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

Definition at line 233 of file node.c.

+ Here is the call graph for this function:

◆ ipip6_input_node()

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

Definition at line 239 of file node.c.

+ Here is the call graph for this function:

◆ ipip_input()

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

◆ ipip4_input_node

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:245
static u8 * format_ipip_rx_trace(u8 *s, va_list *args)
Definition: node.c:49
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ipip4_input_node)

Definition at line 252 of file node.c.

◆ ipip6_input_node

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:245
static u8 * format_ipip_rx_trace(u8 *s, va_list *args)
Definition: node.c:49
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ipip6_input_node)

Definition at line 268 of file node.c.

◆ ipip_error_strings

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

Definition at line 245 of file node.c.