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

Go to the source code of this file.

Data Structures

struct  ct6_out2in_trace_t
 

Macros

#define foreach_ct6_out2in_error
 

Enumerations

enum  ct6_out2in_error_t { CT6_OUT2IN_N_ERROR }
 
enum  ct6_next_t { CT6_IN2OUT_NEXT_DROP, CT6_IN2OUT_N_NEXT, CT6_OUT2IN_NEXT_DROP, CT6_OUT2IN_N_NEXT }
 

Functions

static u8format_ct6_out2in_trace (u8 *s, va_list *args)
 
static uword ct6_out2in_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_trace)
 
VLIB_NODE_FN() ct6_out2in_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t ct6_out2in_node
 (constructor) VLIB_REGISTER_NODE (ct6_out2in_node) More...
 
static char * ct6_out2in_error_strings []
 

Macro Definition Documentation

◆ foreach_ct6_out2in_error

#define foreach_ct6_out2in_error
Value:
_(PROCESSED, "ct6 packets processed") \
_(NO_SESSION, "ct6 no session drops")

Definition at line 48 of file ct6_out2in.c.

Enumeration Type Documentation

◆ ct6_next_t

enum ct6_next_t
Enumerator
CT6_IN2OUT_NEXT_DROP 
CT6_IN2OUT_N_NEXT 
CT6_OUT2IN_NEXT_DROP 
CT6_OUT2IN_N_NEXT 

Definition at line 69 of file ct6_out2in.c.

◆ ct6_out2in_error_t

Enumerator
CT6_OUT2IN_N_ERROR 

Definition at line 53 of file ct6_out2in.c.

Function Documentation

◆ ct6_out2in_inline()

static uword ct6_out2in_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  is_trace 
)
inlinestatic

Definition at line 76 of file ct6_out2in.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ct6_out2in_node()

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

Definition at line 240 of file ct6_out2in.c.

+ Here is the call graph for this function:

◆ format_ct6_out2in_trace()

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

Definition at line 33 of file ct6_out2in.c.

Variable Documentation

◆ ct6_out2in_error_strings

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

Definition at line 62 of file ct6_out2in.c.

◆ ct6_out2in_node

vlib_node_registration_t ct6_out2in_node
Initial value:
=
{
.name = "ct6-out2in",
.vector_size = sizeof (u32),
.format_trace = format_ct6_out2in_trace,
.error_strings = ct6_out2in_error_strings,
.n_next_nodes = CT6_OUT2IN_N_NEXT,
.next_nodes = {
[CT6_OUT2IN_NEXT_DROP] = "error-drop",
},
}

(constructor) VLIB_REGISTER_NODE (ct6_out2in_node)

Definition at line 44 of file ct6_out2in.c.

ct6_out2in_error_strings
static char * ct6_out2in_error_strings[]
Definition: ct6_out2in.c:62
CT6_OUT2IN_NEXT_DROP
@ CT6_OUT2IN_NEXT_DROP
Definition: ct6_out2in.c:71
CT6_OUT2IN_N_NEXT
@ CT6_OUT2IN_N_NEXT
Definition: ct6_out2in.c:72
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
foreach_ct6_out2in_error
#define foreach_ct6_out2in_error
Definition: ct6_out2in.c:48
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
format_ct6_out2in_trace
static u8 * format_ct6_out2in_trace(u8 *s, va_list *args)
Definition: ct6_out2in.c:33
u32
unsigned int u32
Definition: types.h:88
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123