FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
udp_encap_node.c File Reference
+ Include dependency graph for udp_encap_node.c:

Go to the source code of this file.

Data Structures

struct  udp4_encap_trace_t_
 
struct  udp6_encap_trace_t_
 

Typedefs

typedef struct udp4_encap_trace_t_ udp4_encap_trace_t
 
typedef struct udp6_encap_trace_t_ udp6_encap_trace_t
 

Functions

static u8format_udp4_encap_trace (u8 *s, va_list *args)
 
static u8format_udp6_encap_trace (u8 *s, va_list *args)
 
static uword udp_encap_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_encap_v6)
 
static uword udp4_encap (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static uword udp6_encap (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VLIB_NODE_FUNCTION_MULTIARCH (udp4_encap_node, udp4_encap)
 
 VLIB_NODE_FUNCTION_MULTIARCH (udp6_encap_node, udp6_encap)
 

Variables

vlib_combined_counter_main_t udp_encap_counters
 Stats for each UDP encap object. More...
 
vlib_node_registration_t udp4_encap_node
 (constructor) VLIB_REGISTER_NODE (udp4_encap_node) More...
 
vlib_node_registration_t udp6_encap_node
 (constructor) VLIB_REGISTER_NODE (udp6_encap_node) More...
 

Typedef Documentation

Function Documentation

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

Definition at line 33 of file udp_encap_node.c.

+ Here is the call graph for this function:

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

Definition at line 48 of file udp_encap_node.c.

+ Here is the call graph for this function:

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

Definition at line 251 of file udp_encap_node.c.

+ Here is the call graph for this function:

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

Definition at line 258 of file udp_encap_node.c.

+ Here is the call graph for this function:

static uword udp_encap_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  is_encap_v6 
)
inlinestatic

Definition at line 63 of file udp_encap_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_NODE_FUNCTION_MULTIARCH ( udp4_encap_node  ,
udp4_encap   
)
VLIB_NODE_FUNCTION_MULTIARCH ( udp6_encap_node  ,
udp6_encap   
)

Variable Documentation

vlib_node_registration_t udp4_encap_node
Initial value:
= {
.function = udp4_encap,
.name = "udp4-encap",
.vector_size = sizeof (u32),
.format_trace = format_udp4_encap_trace,
.n_next_nodes = 0,
}
unsigned int u32
Definition: types.h:88
static uword udp4_encap(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_udp4_encap_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (udp4_encap_node)

Definition at line 265 of file udp_encap_node.c.

vlib_node_registration_t udp6_encap_node
Initial value:
= {
.function = udp6_encap,
.name = "udp6-encap",
.vector_size = sizeof (u32),
.format_trace = format_udp6_encap_trace,
.n_next_nodes = 0,
}
static uword udp6_encap(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
unsigned int u32
Definition: types.h:88
static u8 * format_udp6_encap_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (udp6_encap_node)

Definition at line 276 of file udp_encap_node.c.

vlib_combined_counter_main_t udp_encap_counters

Stats for each UDP encap object.

Definition at line 39 of file udp_encap.c.