FD.io VPP  v19.04.4-rc0-5-ge88582fac
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)
 
VLIB_NODE_FN() udp4_encap_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() udp6_encap_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

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

◆ udp4_encap_trace_t

◆ udp6_encap_trace_t

Function Documentation

◆ format_udp4_encap_trace()

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:

◆ format_udp6_encap_trace()

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:

◆ udp4_encap_node()

VLIB_NODE_FN() udp4_encap_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 250 of file udp_encap_node.c.

+ Here is the call graph for this function:

◆ udp6_encap_node()

VLIB_NODE_FN() udp6_encap_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 257 of file udp_encap_node.c.

+ Here is the call graph for this function:

◆ udp_encap_inline()

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:

Variable Documentation

◆ udp4_encap_node

vlib_node_registration_t udp4_encap_node
Initial value:
= {
.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 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.

◆ udp6_encap_node

vlib_node_registration_t udp6_encap_node
Initial value:
= {
.name = "udp6-encap",
.vector_size = sizeof (u32),
.format_trace = format_udp6_encap_trace,
.n_next_nodes = 0,
}
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 274 of file udp_encap_node.c.

◆ udp_encap_counters

vlib_combined_counter_main_t udp_encap_counters

Stats for each UDP encap object.

Definition at line 34 of file udp_encap.c.