FD.io VPP  v17.01-9-ge7dcee4
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 u8pg_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address)
 
 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 216 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 98 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 327 of file stream.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* pg_build_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
vnet_link_t  link_type,
const void *  dst_address 
)
static

Definition at line 133 of file stream.c.

+ Here is the call 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 310 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 155 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 162 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 111 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 369 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 469 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 49 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: