FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
ip4_pg.c File Reference
+ Include dependency graph for ip4_pg.c:

Go to the source code of this file.

Data Structures

struct  pg_ip4_header_t
 

Macros

#define IP4_PG_EDIT_CHECKSUM   (1 << 0)
 
#define IP4_PG_EDIT_LENGTH   (1 << 1)
 

Functions

static_always_inline void compute_length_and_or_checksum (vlib_main_t *vm, u32 *packets, u32 n_packets, u32 ip_header_offset, u32 flags)
 
static void ip4_pg_edit_function (pg_main_t *pg, pg_stream_t *s, pg_edit_group_t *g, u32 *packets, u32 n_packets)
 
static void pg_ip4_header_init (pg_ip4_header_t *p)
 
uword unformat_pg_ip4_header (unformat_input_t *input, va_list *args)
 

Macro Definition Documentation

◆ IP4_PG_EDIT_CHECKSUM

#define IP4_PG_EDIT_CHECKSUM   (1 << 0)

Definition at line 43 of file ip4_pg.c.

◆ IP4_PG_EDIT_LENGTH

#define IP4_PG_EDIT_LENGTH   (1 << 1)

Definition at line 44 of file ip4_pg.c.

Function Documentation

◆ compute_length_and_or_checksum()

static_always_inline void compute_length_and_or_checksum ( vlib_main_t vm,
u32 packets,
u32  n_packets,
u32  ip_header_offset,
u32  flags 
)

Definition at line 47 of file ip4_pg.c.

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

◆ ip4_pg_edit_function()

static void ip4_pg_edit_function ( pg_main_t pg,
pg_stream_t s,
pg_edit_group_t g,
u32 packets,
u32  n_packets 
)
static

Definition at line 132 of file ip4_pg.c.

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

◆ pg_ip4_header_init()

static void pg_ip4_header_init ( pg_ip4_header_t p)
inlinestatic

Definition at line 186 of file ip4_pg.c.

+ Here is the caller graph for this function:

◆ unformat_pg_ip4_header()

uword unformat_pg_ip4_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 217 of file ip4_pg.c.

+ Here is the call graph for this function: