FD.io VPP  v17.07-30-g839fa73
Vector Packet Processing
ip4_sixrd.c File Reference
+ Include dependency graph for ip4_sixrd.c:

Go to the source code of this file.

Enumerations

enum  ip4_sixrd_next_t { IP4_SIXRD_NEXT_IP6_LOOKUP, IP4_SIXRD_NEXT_DROP, IP4_SIXRD_N_NEXT }
 

Functions

static_always_inline void ip4_sixrd_sec_check (sixrd_domain_t *d, ip4_address_t sa4, ip6_address_t sa6, u8 *error)
 
static uword ip4_sixrd (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static vlib_node_registration_t ip4_sixrd_node
 (constructor) VLIB_REGISTER_NODE (ip4_sixrd_node) More...
 
static char * sixrd_error_strings []
 

Enumeration Type Documentation

Enumerator
IP4_SIXRD_NEXT_IP6_LOOKUP 
IP4_SIXRD_NEXT_DROP 
IP4_SIXRD_N_NEXT 

Definition at line 20 of file ip4_sixrd.c.

Function Documentation

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

Definition at line 42 of file ip4_sixrd.c.

+ Here is the call graph for this function:

static_always_inline void ip4_sixrd_sec_check ( sixrd_domain_t d,
ip4_address_t  sa4,
ip6_address_t  sa6,
u8 error 
)

Definition at line 30 of file ip4_sixrd.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

static vlib_node_registration_t ip4_sixrd_node
static
Initial value:
= {
.function = ip4_sixrd,
.name = "ip4-sixrd",
.vector_size = sizeof(u32),
.format_trace = format_sixrd_trace,
.n_errors = SIXRD_N_ERROR,
.error_strings = sixrd_error_strings,
.n_next_nodes = IP4_SIXRD_N_NEXT,
.next_nodes = {
[IP4_SIXRD_NEXT_IP6_LOOKUP] = "ip6-lookup",
[IP4_SIXRD_NEXT_DROP] = "error-drop",
},
}
static uword ip4_sixrd(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: ip4_sixrd.c:42
static char * sixrd_error_strings[]
Definition: ip4_sixrd.c:109
unsigned int u32
Definition: types.h:88
u8 * format_sixrd_trace(u8 *s, va_list *args)
Definition: sixrd.c:322

(constructor) VLIB_REGISTER_NODE (ip4_sixrd_node)

Definition at line 18 of file ip4_sixrd.c.

char* sixrd_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_sixrd_error
Definition: sixrd.h:52

Definition at line 109 of file ip4_sixrd.c.