20 #ifndef __INTERFACE_DPO_H__ 21 #define __INTERFACE_DPO_H__ u16 ido_locks
number of locks.
static interface_dpo_t * interface_dpo_get(index_t index)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
void interface_dpo_add_or_lock(dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)
The data-path object representing interfaceing the packet, i.e.
u32 ido_next_node
next VLIB node.
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.
void interface_dpo_module_init(void)
dpo_proto_t ido_proto
DPO protocol that the packets will have as they 'ingress' on this interface.
struct interface_dpo_t_ interface_dpo_t
The data-path object representing interfaceing the packet, i.e.
u32 ido_sw_if_index
The Software interface index that the packets will be given as the ingress/rx interface.
interface_dpo_t * interface_dpo_pool
pool of all interface DPOs