FD.io VPP  v20.09-64-g4f7b92f0a
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

◆ format_interface_tx_dpo()

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:

◆ interface_tx_dpo_add_or_lock()

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:

◆ interface_tx_dpo_get_next_node()

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:

◆ interface_tx_dpo_lock()

static void interface_tx_dpo_lock ( dpo_id_t dpo)
static

Definition at line 24 of file interface_tx_dpo.c.

◆ interface_tx_dpo_mem_show()

static void interface_tx_dpo_mem_show ( void  )
static

Definition at line 60 of file interface_tx_dpo.c.

◆ interface_tx_dpo_module_init()

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:

◆ interface_tx_dpo_unlock()

static void interface_tx_dpo_unlock ( dpo_id_t dpo)
static

Definition at line 29 of file interface_tx_dpo.c.

Variable Documentation

◆ interface_tx_dpo_vft

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.