FD.io VPP  v17.07.01-10-g3be13f0
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
 

Enumerations

enum  ip6_input_next_t {
  IP6_INPUT_NEXT_DROP, IP6_INPUT_NEXT_LOOKUP, IP6_INPUT_NEXT_LOOKUP_MULTICAST, IP6_INPUT_NEXT_ICMP_ERROR,
  IP6_INPUT_N_NEXT
}
 

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

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

Enumeration Type Documentation

Enumerator
IP6_INPUT_NEXT_DROP 
IP6_INPUT_NEXT_LOOKUP 
IP6_INPUT_NEXT_LOOKUP_MULTICAST 
IP6_INPUT_NEXT_ICMP_ERROR 
IP6_INPUT_N_NEXT 

Definition at line 63 of file ip6_input.c.

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 349 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 75 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[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ip6_error
Definition: ip6_error.h:43

Definition at line 320 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
static char * ip6_error_strings[]
Definition: ip6_input.c:320
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:75

(constructor) VLIB_REGISTER_NODE (ip6_input_node)

Definition at line 327 of file ip6_input.c.