u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
static dvr_dpo_t * dvr_dpo_get(index_t index)
u16 dd_locks
number of locks.
void dvr_dpo_add_or_lock(u32 sw_if_index, dpo_proto_t dproto, dpo_id_t *dpo)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
struct dvr_dpo_t_ dvr_dpo_t
The DVR DPO.
dpo_proto_t dd_proto
The protocol of packets using this DPO.
u32 dd_sw_if_index
The Software interface index that the packets will output on.
void dvr_dpo_module_init(void)
dvr_dpo_t * dvr_dpo_pool
pool of all interface DPOs