FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
udp_pg.c File Reference
+ Include dependency graph for udp_pg.c:

Go to the source code of this file.

Data Structures

struct  pg_udp_header_t
 

Macros

#define UDP_PG_EDIT_LENGTH   (1 << 0)
 
#define UDP_PG_EDIT_CHECKSUM   (1 << 1)
 

Functions

static void udp_pg_edit_function_inline (pg_main_t *pg, pg_stream_t *s, pg_edit_group_t *g, u32 *packets, u32 n_packets, u32 flags)
 
static void udp_pg_edit_function (pg_main_t *pg, pg_stream_t *s, pg_edit_group_t *g, u32 *packets, u32 n_packets)
 
static void pg_udp_header_init (pg_udp_header_t *p)
 
uword unformat_pg_udp_header (unformat_input_t *input, va_list *args)
 

Macro Definition Documentation

◆ UDP_PG_EDIT_CHECKSUM

#define UDP_PG_EDIT_CHECKSUM   (1 << 1)

Definition at line 45 of file udp_pg.c.

◆ UDP_PG_EDIT_LENGTH

#define UDP_PG_EDIT_LENGTH   (1 << 0)

Definition at line 44 of file udp_pg.c.

Function Documentation

◆ pg_udp_header_init()

static void pg_udp_header_init ( pg_udp_header_t p)
inlinestatic

Definition at line 142 of file udp_pg.c.

+ Here is the caller graph for this function:

◆ udp_pg_edit_function()

static void udp_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 107 of file udp_pg.c.

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

◆ udp_pg_edit_function_inline()

static void udp_pg_edit_function_inline ( pg_main_t pg,
pg_stream_t s,
pg_edit_group_t g,
u32 packets,
u32  n_packets,
u32  flags 
)
inlinestatic

Definition at line 48 of file udp_pg.c.

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

◆ unformat_pg_udp_header()

uword unformat_pg_udp_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 154 of file udp_pg.c.

+ Here is the call graph for this function: