FD.io VPP  v19.01.3-6-g70449b9b9
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

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)
 
static uword ipip4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
static uword ipip6_input (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()

u8* format_ipip_rx_trace ( u8 s,
va_list *  args 
)

Definition at line 49 of file node.c.

+ Here is the call graph for this function:

◆ ipip4_input()

static uword ipip4_input ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 220 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipip6_input()

static uword ipip6_input ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 227 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:
= {
.function = ipip4_input,
.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:233
static uword ipip4_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: node.c:220
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 240 of file node.c.

◆ ipip6_input_node

vlib_node_registration_t ipip6_input_node
Initial value:
= {
.function = ipip6_input,
.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:233
u8 * format_ipip_rx_trace(u8 *s, va_list *args)
Definition: node.c:49
unsigned int u32
Definition: types.h:88
static uword ipip6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: node.c:227

(constructor) VLIB_REGISTER_NODE (ipip6_input_node)

Definition at line 257 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 233 of file node.c.