FD.io VPP  v21.01.1
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)
 
VLIB_NODE_FN() ip6_input_node (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

◆ 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.

◆ ip6_init()

static clib_error_t* ip6_init ( vlib_main_t vm)
static

Definition at line 251 of file ip6_input.c.

+ Here is the call graph for this function:

◆ ip6_input_node()

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

Definition at line 65 of file ip6_input.c.

+ Here is the call graph for this function:

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 222 of file ip6_input.c.

◆ ip6_input_node

vlib_node_registration_t ip6_input_node
Initial value:
= {
.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:222
format_function_t format_ip6_header
Definition: format.h:95

(constructor) VLIB_REGISTER_NODE (ip6_input_node)

Definition at line 230 of file ip6_input.c.