FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
ip4_input.h File Reference
+ Include dependency graph for ip4_input.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ip4_input_next_t {
  IP4_INPUT_NEXT_DROP, IP4_INPUT_NEXT_PUNT, IP4_INPUT_NEXT_OPTIONS, IP4_INPUT_NEXT_LOOKUP,
  IP4_INPUT_NEXT_LOOKUP_MULTICAST, IP4_INPUT_NEXT_ICMP_ERROR, IP4_INPUT_NEXT_REASSEMBLY, IP4_INPUT_N_NEXT
}
 

Functions

static_always_inline void check_ver_opt_csum (ip4_header_t *ip, u8 *error, int verify_checksum)
 
static void ip4_input_check_x4 (vlib_main_t *vm, vlib_node_runtime_t *error_node, vlib_buffer_t **p, ip4_header_t **ip, u16 *next, int verify_checksum)
 
static void ip4_input_check_x2 (vlib_main_t *vm, vlib_node_runtime_t *error_node, vlib_buffer_t *p0, vlib_buffer_t *p1, ip4_header_t *ip0, ip4_header_t *ip1, u32 *next0, u32 *next1, int verify_checksum)
 
static void ip4_input_check_x1 (vlib_main_t *vm, vlib_node_runtime_t *error_node, vlib_buffer_t *p0, ip4_header_t *ip0, u32 *next0, int verify_checksum)
 

Variables

char * ip4_error_strings []
 

Enumeration Type Documentation

◆ ip4_input_next_t

Enumerator
IP4_INPUT_NEXT_DROP 
IP4_INPUT_NEXT_PUNT 
IP4_INPUT_NEXT_OPTIONS 
IP4_INPUT_NEXT_LOOKUP 
IP4_INPUT_NEXT_LOOKUP_MULTICAST 
IP4_INPUT_NEXT_ICMP_ERROR 
IP4_INPUT_NEXT_REASSEMBLY 
IP4_INPUT_N_NEXT 

Definition at line 48 of file ip4_input.h.

Function Documentation

◆ check_ver_opt_csum()

static_always_inline void check_ver_opt_csum ( ip4_header_t ip,
u8 error,
int  verify_checksum 
)

Definition at line 61 of file ip4_input.h.

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

◆ ip4_input_check_x1()

static void ip4_input_check_x1 ( vlib_main_t vm,
vlib_node_runtime_t error_node,
vlib_buffer_t p0,
ip4_header_t ip0,
u32 next0,
int  verify_checksum 
)
inlinestatic

Definition at line 280 of file ip4_input.h.

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

◆ ip4_input_check_x2()

static void ip4_input_check_x2 ( vlib_main_t vm,
vlib_node_runtime_t error_node,
vlib_buffer_t p0,
vlib_buffer_t p1,
ip4_header_t ip0,
ip4_header_t ip1,
u32 next0,
u32 next1,
int  verify_checksum 
)
inlinestatic

Definition at line 205 of file ip4_input.h.

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

◆ ip4_input_check_x4()

static void ip4_input_check_x4 ( vlib_main_t vm,
vlib_node_runtime_t error_node,
vlib_buffer_t **  p,
ip4_header_t **  ip,
u16 next,
int  verify_checksum 
)
inlinestatic

Definition at line 81 of file ip4_input.h.

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

Variable Documentation

◆ ip4_error_strings

char* ip4_error_strings[]

Definition at line 309 of file ip4_input.c.