FD.io VPP  v16.06
Vector Packet Processing
stream.c File Reference
+ Include dependency graph for stream.c:

Go to the source code of this file.

Functions

void pg_stream_enable_disable (pg_main_t *pg, pg_stream_t *s, int want_enabled)
 
static u8format_pg_interface_name (u8 *s, va_list *args)
 
 VNET_DEVICE_CLASS (pg_dev_class, static)
 
static uword pg_set_rewrite (vnet_main_t *vnm, u32 sw_if_index, u32 l3_type, void *dst_address, void *rewrite, uword max_rewrite_bytes)
 
 VNET_HW_INTERFACE_CLASS (pg_interface_class, static)
 
u32 pg_interface_find_free (pg_main_t *pg, uword stream_index)
 
static void do_edit (pg_stream_t *stream, pg_edit_group_t *g, pg_edit_t *e, uword want_commit)
 
void pg_edit_group_get_fixed_packet_data (pg_stream_t *s, u32 group_index, void *packet_data, void *packet_data_mask)
 
static void perform_fixed_edits (pg_stream_t *s)
 
void pg_stream_add (pg_main_t *pg, pg_stream_t *s_init)
 
void pg_stream_del (pg_main_t *pg, uword index)
 

Function Documentation

static void do_edit ( pg_stream_t stream,
pg_edit_group_t g,
pg_edit_t e,
uword  want_commit 
)
static

Definition at line 155 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* format_pg_interface_name ( u8 s,
va_list *  args 
)
static

Definition at line 86 of file stream.c.

+ Here is the call graph for this function:

static void perform_fixed_edits ( pg_stream_t s)
static

Definition at line 265 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void pg_edit_group_get_fixed_packet_data ( pg_stream_t s,
u32  group_index,
void packet_data,
void packet_data_mask 
)

Definition at line 250 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 pg_interface_find_free ( pg_main_t pg,
uword  stream_index 
)

Definition at line 125 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword pg_set_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
u32  l3_type,
void dst_address,
void rewrite,
uword  max_rewrite_bytes 
)
static

Definition at line 104 of file stream.c.

+ Here is the call graph for this function:

void pg_stream_add ( pg_main_t pg,
pg_stream_t s_init 
)

Definition at line 310 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void pg_stream_del ( pg_main_t pg,
uword  index 
)

Definition at line 399 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void pg_stream_enable_disable ( pg_main_t pg,
pg_stream_t s,
int  want_enabled 
)

Definition at line 44 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VNET_DEVICE_CLASS ( pg_dev_class  ,
static   
)

+ Here is the caller graph for this function:

VNET_HW_INTERFACE_CLASS ( pg_interface_class  ,
static   
)

+ Here is the caller graph for this function: