FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
dslite_ce_encap.c File Reference
+ Include dependency graph for dslite_ce_encap.c:

Go to the source code of this file.

Enumerations

enum  dslite_ce_encap_next_t { DSLITE_CE_ENCAP_NEXT_IP6_LOOKUP, DSLITE_CE_ENCAP_NEXT_DROP, DSLITE_CE_ENCAP_N_NEXT }
 

Functions

VLIB_NODE_FN() dslite_ce_encap_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * dslite_ce_encap_error_strings []
 
vlib_node_registration_t dslite_ce_encap_node
 (constructor) VLIB_REGISTER_NODE (dslite_ce_encap_node) More...
 

Enumeration Type Documentation

◆ dslite_ce_encap_next_t

Enumerator
DSLITE_CE_ENCAP_NEXT_IP6_LOOKUP 
DSLITE_CE_ENCAP_NEXT_DROP 
DSLITE_CE_ENCAP_N_NEXT 

Definition at line 17 of file dslite_ce_encap.c.

Function Documentation

◆ dslite_ce_encap_node()

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

Definition at line 30 of file dslite_ce_encap.c.

+ Here is the call graph for this function:

Variable Documentation

◆ dslite_ce_encap_error_strings

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

Definition at line 24 of file dslite_ce_encap.c.

◆ dslite_ce_encap_node

vlib_node_registration_t dslite_ce_encap_node
Initial value:
= {
.name = "dslite-ce-encap",
.vector_size = sizeof (u32),
.format_trace = format_dslite_ce_trace,
.n_next_nodes = DSLITE_CE_ENCAP_N_NEXT,
.next_nodes = {
[DSLITE_CE_ENCAP_NEXT_DROP] = "error-drop",
},
}

(constructor) VLIB_REGISTER_NODE (dslite_ce_encap_node)

Definition at line 111 of file dslite_ce_encap.c.

foreach_dslite_error
#define foreach_dslite_error
Definition: dslite.h:145
DSLITE_CE_ENCAP_N_NEXT
@ DSLITE_CE_ENCAP_N_NEXT
Definition: dslite_ce_encap.c:21
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
DSLITE_CE_ENCAP_NEXT_DROP
@ DSLITE_CE_ENCAP_NEXT_DROP
Definition: dslite_ce_encap.c:20
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
DSLITE_CE_ENCAP_NEXT_IP6_LOOKUP
@ DSLITE_CE_ENCAP_NEXT_IP6_LOOKUP
Definition: dslite_ce_encap.c:19
u32
unsigned int u32
Definition: types.h:88
format_dslite_ce_trace
u8 * format_dslite_ce_trace(u8 *s, va_list *args)
Definition: dslite.c:271
dslite_ce_encap_error_strings
static char * dslite_ce_encap_error_strings[]
Definition: dslite_ce_encap.c:24
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123