FD.io VPP  v19.08.2-294-g37e99c22d
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_output_trace (u8 *s, va_list *va)
 
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, u8 gso_enabled, u32 gso_size)
 
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)
 
void pg_stream_change (pg_main_t *pg, pg_stream_t *s)
 

Function Documentation

◆ do_edit()

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

Definition at line 240 of file stream.c.

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

◆ format_pg_interface_name()

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

Definition at line 117 of file stream.c.

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

◆ format_pg_output_trace()

static u8* format_pg_output_trace ( u8 s,
va_list *  va 
)
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:

◆ perform_fixed_edits()

static void perform_fixed_edits ( pg_stream_t s)
static

Definition at line 351 of file stream.c.

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

◆ pg_build_rewrite()

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 153 of file stream.c.

+ Here is the call graph for this function:

◆ pg_edit_group_get_fixed_packet_data()

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 334 of file stream.c.

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

◆ pg_eth_flag_change()

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

Definition at line 175 of file stream.c.

+ Here is the caller graph for this function:

◆ pg_interface_add_or_get()

u32 pg_interface_add_or_get ( pg_main_t pg,
uword  if_id,
u8  gso_enabled,
u32  gso_size 
)

Definition at line 182 of file stream.c.

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

◆ pg_interface_admin_up_down()

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

Definition at line 130 of file stream.c.

+ Here is the call graph for this function:

◆ pg_stream_add()

void pg_stream_add ( pg_main_t pg,
pg_stream_t s_init 
)

Definition at line 393 of file stream.c.

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

◆ pg_stream_change()

void pg_stream_change ( pg_main_t pg,
pg_stream_t s 
)

Definition at line 497 of file stream.c.

+ Here is the caller graph for this function:

◆ pg_stream_del()

void pg_stream_del ( pg_main_t pg,
uword  index 
)

Definition at line 477 of file stream.c.

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

◆ pg_stream_enable_disable()

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()

VNET_DEVICE_CLASS ( pg_dev_class  )
+ Here is the caller graph for this function:

◆ VNET_HW_INTERFACE_CLASS()

VNET_HW_INTERFACE_CLASS ( pg_interface_class  ,
static   
)
+ Here is the caller graph for this function: