FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
interface_tx_dpo.c File Reference
+ Include dependency graph for interface_tx_dpo.c:

Go to the source code of this file.

Functions

static void interface_tx_dpo_lock (dpo_id_t *dpo)
 
static void interface_tx_dpo_unlock (dpo_id_t *dpo)
 
void interface_tx_dpo_add_or_lock (dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)
 The data-path object representing transmitting the packet on a n interface. More...
 
u8format_interface_tx_dpo (u8 *s, va_list *ap)
 
static void interface_tx_dpo_mem_show (void)
 
u32interface_tx_dpo_get_next_node (const dpo_id_t *dpo)
 
void interface_tx_dpo_module_init (void)
 

Variables

static const dpo_vft_t interface_tx_dpo_vft
 

Function Documentation

u8* format_interface_tx_dpo ( u8 s,
va_list *  ap 
)

Definition at line 47 of file interface_tx_dpo.c.

+ Here is the call graph for this function:

void interface_tx_dpo_add_or_lock ( dpo_proto_t  proto,
u32  sw_if_index,
dpo_id_t dpo 
)

The data-path object representing transmitting the packet on a n interface.

This is a convenient DPO wrapper around a simple interface transmit and thus allows us to represent direct interface transmit in the DPO model.

Definition at line 39 of file interface_tx_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32* interface_tx_dpo_get_next_node ( const dpo_id_t dpo)

Definition at line 65 of file interface_tx_dpo.c.

+ Here is the call graph for this function:

static void interface_tx_dpo_lock ( dpo_id_t dpo)
static

Definition at line 24 of file interface_tx_dpo.c.

static void interface_tx_dpo_mem_show ( void  )
static

Definition at line 60 of file interface_tx_dpo.c.

void interface_tx_dpo_module_init ( void  )

Definition at line 88 of file interface_tx_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void interface_tx_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 29 of file interface_tx_dpo.c.

Variable Documentation

const dpo_vft_t interface_tx_dpo_vft
static
Initial value:
= {
.dv_mem_show = interface_tx_dpo_mem_show,
.dv_get_next_node = interface_tx_dpo_get_next_node,
}
u8 * format_interface_tx_dpo(u8 *s, va_list *ap)
static void interface_tx_dpo_lock(dpo_id_t *dpo)
u32 * interface_tx_dpo_get_next_node(const dpo_id_t *dpo)
static void interface_tx_dpo_unlock(dpo_id_t *dpo)
static void interface_tx_dpo_mem_show(void)

Definition at line 79 of file interface_tx_dpo.c.