FD.io VPP  v16.09
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)
 
static clib_error_tpg_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags)
 
 VNET_DEVICE_CLASS (pg_dev_class)
 
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)
 
static u32 pg_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags)
 
u32 pg_interface_add_or_get (pg_main_t *pg, uword if_id)
 
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 188 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:

+ Here is the caller graph for this function:

static void perform_fixed_edits ( pg_stream_t s)
static

Definition at line 298 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 283 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 pg_eth_flag_change ( vnet_main_t vnm,
vnet_hw_interface_t hi,
u32  flags 
)
static

Definition at line 140 of file stream.c.

+ Here is the caller graph for this function:

u32 pg_interface_add_or_get ( pg_main_t pg,
uword  if_id 
)

Definition at line 146 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* pg_interface_admin_up_down ( vnet_main_t vnm,
u32  hw_if_index,
u32  flags 
)
static

Definition at line 99 of file stream.c.

+ Here is the call 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 118 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 343 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 433 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 45 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  )

+ Here is the caller graph for this function:

VNET_HW_INTERFACE_CLASS ( pg_interface_class  ,
static   
)

+ Here is the caller graph for this function: