FD.io VPP  v18.01.2-1-g9b554f3
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)
 
static clib_error_tip6_init (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

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:

static clib_error_t* ip6_init ( vlib_main_t vm)
static

Definition at line 250 of file ip6_input.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

Variable Documentation

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.

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
char * ip6_error_strings[]
Definition: ip6_input.c:221
unsigned int u32
Definition: types.h:88
format_function_t format_ip6_header
Definition: format.h:98
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.