FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
nat44_ei_handoff.c File Reference
+ Include dependency graph for nat44_ei_handoff.c:

Go to the source code of this file.

Data Structures

struct  nat44_ei_handoff_trace_t
 

Macros

#define foreach_nat44_ei_handoff_error
 

Enumerations

enum  nat44_ei_handoff_error_t { NAT44_EI_HANDOFF_N_ERROR }
 

Functions

static u8format_nat44_ei_handoff_trace (u8 *s, va_list *args)
 
static uword nat44_ei_worker_handoff_fn_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 is_output, u8 is_in2out)
 

Variables

static char * nat44_ei_handoff_error_strings []
 
vlib_main_tvm
 
vlib_main_t vlib_node_runtime_tnode
 
vlib_main_t vlib_node_runtime_t vlib_frame_tframe
 
vlib_node_registration_t nat44_ei_in2out_output_worker_handoff_node
 (constructor) VLIB_REGISTER_NODE (nat44_ei_in2out_output_worker_handoff_node) More...
 
vlib_node_registration_t nat44_ei_in2out_worker_handoff_node
 (constructor) VLIB_REGISTER_NODE (nat44_ei_in2out_worker_handoff_node) More...
 
vlib_node_registration_t nat44_ei_out2in_worker_handoff_node
 (constructor) VLIB_REGISTER_NODE (nat44_ei_out2in_worker_handoff_node) More...
 

Macro Definition Documentation

◆ foreach_nat44_ei_handoff_error

#define foreach_nat44_ei_handoff_error
Value:
_ (CONGESTION_DROP, "congestion drop") \
_ (SAME_WORKER, "same worker") \
_ (DO_HANDOFF, "do handoff")

Definition at line 32 of file nat44_ei_handoff.c.

Enumeration Type Documentation

◆ nat44_ei_handoff_error_t

Enumerator
NAT44_EI_HANDOFF_N_ERROR 

Definition at line 37 of file nat44_ei_handoff.c.

Function Documentation

◆ format_nat44_ei_handoff_trace()

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

Definition at line 52 of file nat44_ei_handoff.c.

◆ nat44_ei_worker_handoff_fn_inline()

static uword nat44_ei_worker_handoff_fn_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
u8  is_output,
u8  is_in2out 
)
inlinestatic

Definition at line 69 of file nat44_ei_handoff.c.

+ Here is the call graph for this function:

Variable Documentation

◆ frame

Initial value:

Definition at line 287 of file nat44_ei_handoff.c.

◆ nat44_ei_handoff_error_strings

char* nat44_ei_handoff_error_strings[]
static
Initial value:
= {
#define _(sym, string)
}

Definition at line 45 of file nat44_ei_handoff.c.

◆ nat44_ei_in2out_output_worker_handoff_node

vlib_node_registration_t nat44_ei_in2out_output_worker_handoff_node
Initial value:
= {
.name = "nat44-ei-in2out-output-worker-handoff",
.vector_size = sizeof (u32),
}

(constructor) VLIB_REGISTER_NODE (nat44_ei_in2out_output_worker_handoff_node)

Definition at line 303 of file nat44_ei_handoff.c.

◆ nat44_ei_in2out_worker_handoff_node

vlib_node_registration_t nat44_ei_in2out_worker_handoff_node
Initial value:
= {
.name = "nat44-ei-in2out-worker-handoff",
.vector_size = sizeof (u32),
}

(constructor) VLIB_REGISTER_NODE (nat44_ei_in2out_worker_handoff_node)

Definition at line 312 of file nat44_ei_handoff.c.

◆ nat44_ei_out2in_worker_handoff_node

vlib_node_registration_t nat44_ei_out2in_worker_handoff_node
Initial value:
= {
.name = "nat44-ei-out2in-worker-handoff",
.vector_size = sizeof (u32),
}

(constructor) VLIB_REGISTER_NODE (nat44_ei_out2in_worker_handoff_node)

Definition at line 321 of file nat44_ei_handoff.c.

◆ node

Definition at line 286 of file nat44_ei_handoff.c.

◆ vm

Definition at line 286 of file nat44_ei_handoff.c.

VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
nat44_ei_worker_handoff_fn_inline
static uword nat44_ei_worker_handoff_fn_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 is_output, u8 is_in2out)
Definition: nat44_ei_handoff.c:69
foreach_nat44_ei_handoff_error
#define foreach_nat44_ei_handoff_error
Definition: nat44_ei_handoff.c:32
frame
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
Definition: nat44_ei_handoff.c:287
nat44_ei_handoff_error_strings
static char * nat44_ei_handoff_error_strings[]
Definition: nat44_ei_handoff.c:45
format_nat44_ei_handoff_trace
static u8 * format_nat44_ei_handoff_trace(u8 *s, va_list *args)
Definition: nat44_ei_handoff.c:52
node
vlib_main_t vlib_node_runtime_t * node
Definition: nat44_ei_handoff.c:286
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
vm
vlib_main_t * vm
Definition: nat44_ei_handoff.c:286
u32
unsigned int u32
Definition: types.h:88
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123