FD.io VPP  v21.06-3-gbb25fbf28
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 34 of file udp_encap_node.c.

◆ format_udp6_encap_trace()

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

Definition at line 49 of file udp_encap_node.c.

◆ 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 251 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 258 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 64 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,
}

(constructor) VLIB_REGISTER_NODE (udp4_encap_node)

Definition at line 266 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,
}

(constructor) VLIB_REGISTER_NODE (udp6_encap_node)

Definition at line 275 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 35 of file udp_encap.c.

format_udp6_encap_trace
static u8 * format_udp6_encap_trace(u8 *s, va_list *args)
Definition: udp_encap_node.c:49
u32
unsigned int u32
Definition: types.h:88
format_udp4_encap_trace
static u8 * format_udp4_encap_trace(u8 *s, va_list *args)
Definition: udp_encap_node.c:34