FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
ip6_input.c File Reference
+ Include dependency graph for ip6_input.c:

Go to the source code of this file.

Data Structures

struct  ip6_input_trace_t
 

Functions

static u8format_ip6_input_trace (u8 *s, va_list *va)
 
static uword ip6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VLIB_NODE_FUNCTION_MULTIARCH (ip6_input_node, ip6_input)
 
static clib_error_tip6_init (vlib_main_t *vm)
 
static clib_error_tip6_main_loop_enter (vlib_main_t *vm)
 

Variables

char * ip6_error_strings []
 
vlib_node_registration_t ip6_input_node
 (constructor) VLIB_REGISTER_NODE (ip6_input_node) More...
 

Function Documentation

◆ format_ip6_input_trace()

static u8* format_ip6_input_trace ( u8 s,
va_list *  va 
)
static

Definition at line 51 of file ip6_input.c.

+ Here is the call graph for this function:

◆ ip6_init()

static clib_error_t* ip6_init ( vlib_main_t vm)
static

Definition at line 252 of file ip6_input.c.

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

◆ ip6_input()

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

Definition at line 66 of file ip6_input.c.

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

◆ ip6_main_loop_enter()

static clib_error_t* ip6_main_loop_enter ( vlib_main_t vm)
static

Definition at line 276 of file ip6_input.c.

+ Here is the call graph for this function:

◆ VLIB_NODE_FUNCTION_MULTIARCH()

VLIB_NODE_FUNCTION_MULTIARCH ( ip6_input_node  ,
ip6_input   
)

Variable Documentation

◆ ip6_error_strings

char* ip6_error_strings[]
Initial value:
= {
#define _(sym,string)
}
#define foreach_ip6_error
Definition: ip6_error.h:43

Definition at line 221 of file ip6_input.c.

◆ ip6_input_node

vlib_node_registration_t ip6_input_node
Initial value:
= {
.function = ip6_input,
.name = "ip6-input",
.vector_size = sizeof (u32),
.n_errors = IP6_N_ERROR,
.error_strings = ip6_error_strings,
.n_next_nodes = IP6_INPUT_N_NEXT,
.next_nodes = {
[IP6_INPUT_NEXT_DROP] = "error-drop",
[IP6_INPUT_NEXT_LOOKUP] = "ip6-lookup",
[IP6_INPUT_NEXT_ICMP_ERROR] = "ip6-icmp-error",
[IP6_INPUT_NEXT_LOOKUP_MULTICAST] = "ip6-mfib-forward-lookup",
},
.format_buffer = format_ip6_header,
.format_trace = format_ip6_input_trace,
}
static u8 * format_ip6_input_trace(u8 *s, va_list *va)
Definition: ip6_input.c:51
unsigned int u32
Definition: types.h:88
char * ip6_error_strings[]
Definition: ip6_input.c:221
format_function_t format_ip6_header
Definition: format.h:97
static uword ip6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: ip6_input.c:66

(constructor) VLIB_REGISTER_NODE (ip6_input_node)

Definition at line 228 of file ip6_input.c.