FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
interface_rx_dpo.h File Reference
+ Include dependency graph for interface_rx_dpo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  interface_rx_dpo_t_
 The data-path object representing a change of receive interface. More...
 

Typedefs

typedef struct interface_rx_dpo_t_ interface_rx_dpo_t
 The data-path object representing a change of receive interface. More...
 

Functions

void interface_rx_dpo_add_or_lock (dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)
 
void interface_rx_dpo_module_init (void)
 
static interface_rx_dpo_tinterface_rx_dpo_get (index_t index)
 

Variables

interface_rx_dpo_tinterface_rx_dpo_pool
 pool of all interface DPOs More...
 

Typedef Documentation

◆ interface_rx_dpo_t

The data-path object representing a change of receive interface.

If a packet encounters an object of this type in the data-path, it's RX interface is changed.

Function Documentation

◆ interface_rx_dpo_add_or_lock()

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

Definition at line 83 of file interface_rx_dpo.c.

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

◆ interface_rx_dpo_get()

static interface_rx_dpo_t* interface_rx_dpo_get ( index_t  index)
inlinestatic

Definition at line 64 of file interface_rx_dpo.h.

+ Here is the caller graph for this function:

◆ interface_rx_dpo_module_init()

void interface_rx_dpo_module_init ( void  )

Definition at line 214 of file interface_rx_dpo.c.

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

Variable Documentation

◆ interface_rx_dpo_pool

interface_rx_dpo_t* interface_rx_dpo_pool

pool of all interface DPOs

Definition at line 61 of file interface_rx_dpo.h.