FD.io VPP  v20.09-64-g4f7b92f0a
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)
 

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 46 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 59 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 278 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 203 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 79 of file ip4_input.h.

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