16 #ifndef __L2_BRIDGE_DPO_H__ 17 #define __L2_BRIDGE_DPO_H__ u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u16 l2b_locks
number of locks.
The data-path object representing an L2 bridge.
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.
l2_bridge_dpo_t * l2_bridge_dpo_pool
pool of all interface DPOs
static l2_bridge_dpo_t * l2_bridge_dpo_get(index_t index)
void l2_bridge_dpo_add_or_lock(u32 sw_if_index, dpo_id_t *dpo)
void l2_bridge_dpo_module_init(void)
u32 l2b_sw_if_index
The Software interface index that the packets will output on.
struct l2_bridge_dpo_t_ l2_bridge_dpo_t
The data-path object representing an L2 bridge.