FD.io VPP  v21.10.1-2-g0a485f517
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 52 of file ip6_input.c.

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

◆ 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 66 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)
}

Definition at line 223 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,
}

(constructor) VLIB_REGISTER_NODE (ip6_input_node)

Definition at line 231 of file ip6_input.c.

format_ip6_header
format_function_t format_ip6_header
Definition: format.h:95
ip6_error_strings
char * ip6_error_strings[]
Definition: ip6_input.c:223
IP6_INPUT_NEXT_ICMP_ERROR
@ IP6_INPUT_NEXT_ICMP_ERROR
Definition: ip6_input.h:53
IP6_INPUT_NEXT_DROP
@ IP6_INPUT_NEXT_DROP
Definition: ip6_input.h:50
format_ip6_input_trace
static u8 * format_ip6_input_trace(u8 *s, va_list *va)
Definition: ip6_input.c:52
u32
unsigned int u32
Definition: types.h:88
IP6_INPUT_NEXT_LOOKUP
@ IP6_INPUT_NEXT_LOOKUP
Definition: ip6_input.h:51
IP6_N_ERROR
@ IP6_N_ERROR
Definition: ip6_error.h:95
IP6_INPUT_N_NEXT
@ IP6_INPUT_N_NEXT
Definition: ip6_input.h:54
foreach_ip6_error
#define foreach_ip6_error
Definition: ip6_error.h:43
IP6_INPUT_NEXT_LOOKUP_MULTICAST
@ IP6_INPUT_NEXT_LOOKUP_MULTICAST
Definition: ip6_input.h:52