FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
dslite_out2in.c File Reference
+ Include dependency graph for dslite_out2in.c:

Go to the source code of this file.

Enumerations

enum  dslite_out2in_next_t { DSLITE_OUT2IN_NEXT_IP4_LOOKUP, DSLITE_OUT2IN_NEXT_IP6_LOOKUP, DSLITE_OUT2IN_NEXT_DROP, DSLITE_OUT2IN_N_NEXT }
 

Functions

static u32 dslite_icmp_out2in (dslite_main_t *dm, ip4_header_t *ip4, dslite_session_t **sp, u32 next, u8 *error, u32 thread_index)
 
static uword dslite_out2in_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VLIB_NODE_FUNCTION_MULTIARCH (dslite_out2in_node, dslite_out2in_node_fn)
 

Variables

vlib_node_registration_t dslite_out2in_node
 (constructor) VLIB_REGISTER_NODE (dslite_out2in_node) More...
 
static char * dslite_out2in_error_strings []
 

Enumeration Type Documentation

Enumerator
DSLITE_OUT2IN_NEXT_IP4_LOOKUP 
DSLITE_OUT2IN_NEXT_IP6_LOOKUP 
DSLITE_OUT2IN_NEXT_DROP 
DSLITE_OUT2IN_N_NEXT 

Definition at line 20 of file dslite_out2in.c.

Function Documentation

static u32 dslite_icmp_out2in ( dslite_main_t dm,
ip4_header_t ip4,
dslite_session_t **  sp,
u32  next,
u8 error,
u32  thread_index 
)
inlinestatic

Definition at line 35 of file dslite_out2in.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword dslite_out2in_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 98 of file dslite_out2in.c.

+ Here is the call graph for this function:

VLIB_NODE_FUNCTION_MULTIARCH ( dslite_out2in_node  ,
dslite_out2in_node_fn   
)

Variable Documentation

char* dslite_out2in_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_dslite_error
Definition: dslite.h:107

Definition at line 28 of file dslite_out2in.c.

vlib_node_registration_t dslite_out2in_node
Initial value:
= {
.function = dslite_out2in_node_fn,
.name = "dslite-out2in",
.vector_size = sizeof (u32),
.format_trace = format_dslite_trace,
.error_strings = dslite_out2in_error_strings,
.n_next_nodes = DSLITE_OUT2IN_N_NEXT,
.next_nodes = {
[DSLITE_OUT2IN_NEXT_DROP] = "error-drop",
},
}
u8 * format_dslite_trace(u8 *s, va_list *args)
Definition: dslite.c:221
unsigned int u32
Definition: types.h:88
static uword dslite_out2in_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: dslite_out2in.c:98
#define ARRAY_LEN(x)
Definition: clib.h:59
static char * dslite_out2in_error_strings[]
Definition: dslite_out2in.c:28

(constructor) VLIB_REGISTER_NODE (dslite_out2in_node)

Definition at line 18 of file dslite_out2in.c.