FD.io VPP  v16.06
Vector Packet Processing
decap.c File Reference
+ Include dependency graph for decap.c:

Go to the source code of this file.

Data Structures

struct  vxlan_rx_trace_t
 

Macros

#define vxlan_error(n, s)   s,
 

Functions

static u8format_vxlan_rx_trace (u8 *s, va_list *args)
 
always_inline uword vxlan_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, char is_ip4)
 
static uword vxlan4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
static uword vxlan6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

vlib_node_registration_t vxlan_input_node
 
static char * vxlan_error_strings []
 
vlib_node_registration_t vxlan4_input_node
 (constructor) VLIB_REGISTER_NODE (vxlan4_input_node) More...
 
vlib_node_registration_t vxlan6_input_node
 (constructor) VLIB_REGISTER_NODE (vxlan6_input_node) More...
 

Macro Definition Documentation

#define vxlan_error (   n,
 
)    s,

Function Documentation

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

Definition at line 31 of file decap.c.

+ Here is the call graph for this function:

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

Definition at line 510 of file decap.c.

+ Here is the call graph for this function:

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

Definition at line 518 of file decap.c.

+ Here is the call graph for this function:

always_inline uword vxlan_input ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame,
char  is_ip4 
)

Definition at line 51 of file decap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t vxlan4_input_node
Initial value:
= {
.function = vxlan4_input,
.name = "vxlan4-input",
.vector_size = sizeof (u32),
.n_errors = VXLAN_N_ERROR,
.error_strings = vxlan_error_strings,
.n_next_nodes = VXLAN_INPUT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_vxlan_rx_trace,
}
#define foreach_vxlan_input_next
Definition: vxlan.h:98
static uword vxlan4_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: decap.c:510
static char * vxlan_error_strings[]
Definition: decap.c:525
unsigned int u32
Definition: types.h:88
static u8 * format_vxlan_rx_trace(u8 *s, va_list *args)
Definition: decap.c:31

(constructor) VLIB_REGISTER_NODE (vxlan4_input_node)

Definition at line 532 of file decap.c.

vlib_node_registration_t vxlan6_input_node
Initial value:
= {
.function = vxlan6_input,
.name = "vxlan6-input",
.vector_size = sizeof (u32),
.n_errors = VXLAN_N_ERROR,
.error_strings = vxlan_error_strings,
.n_next_nodes = VXLAN_INPUT_N_NEXT,
.next_nodes = {
#define _(s,n)
},
.format_trace = format_vxlan_rx_trace,
}
#define foreach_vxlan_input_next
Definition: vxlan.h:98
static char * vxlan_error_strings[]
Definition: decap.c:525
unsigned int u32
Definition: types.h:88
static u8 * format_vxlan_rx_trace(u8 *s, va_list *args)
Definition: decap.c:31
static uword vxlan6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: decap.c:518

(constructor) VLIB_REGISTER_NODE (vxlan6_input_node)

Definition at line 553 of file decap.c.

char* vxlan_error_strings[]
static
Initial value:
= {
#define vxlan_error(n,s)
}

Definition at line 525 of file decap.c.

vlib_node_registration_t vxlan_input_node

Definition at line 22 of file decap.c.