FD.io VPP  v20.05.1-6-gf53edbc3b
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 49 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 70 of file ct6_out2in.c.

◆ ct6_out2in_error_t

Enumerator
CT6_OUT2IN_N_ERROR 

Definition at line 54 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 77 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 241 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 34 of file ct6_out2in.c.

+ Here is the call graph for this function:

Variable Documentation

◆ ct6_out2in_error_strings

char* ct6_out2in_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ct6_out2in_error
Definition: ct6_out2in.c:49

Definition at line 63 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",
},
}
static char * ct6_out2in_error_strings[]
Definition: ct6_out2in.c:63
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
#define ARRAY_LEN(x)
Definition: clib.h:66
static u8 * format_ct6_out2in_trace(u8 *s, va_list *args)
Definition: ct6_out2in.c:34

(constructor) VLIB_REGISTER_NODE (ct6_out2in_node)

Definition at line 45 of file ct6_out2in.c.