FD.io VPP  v17.01-9-ge7dcee4
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

#define IP4_PG_EDIT_CHECKSUM   (1 << 0)

Definition at line 43 of file ip4_pg.c.

#define IP4_PG_EDIT_LENGTH   (1 << 1)

Definition at line 44 of file ip4_pg.c.

Function Documentation

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:

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:

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:

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: