21 #ifndef __L3_PROXY_DPO_H__ 22 #define __L3_PROXY_DPO_H__ struct l3_proxy_dpo_t_ l3_proxy_dpo_t
The data-path object representing L3 proxy.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
The data-path object representing L3 proxy.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
u32 l3p_sw_if_index
The Software interface index on which traffic is l3_proxyd.
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.
l3_proxy_dpo_t * l3_proxy_dpo_pool
pool of all l3_proxy DPOs
void l3_proxy_dpo_module_init(void)
static l3_proxy_dpo_t * l3_proxy_dpo_get(index_t index)
u16 l3p_locks
number oflocks.
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
required for pool_get_aligned.
void l3_proxy_dpo_add_or_lock(dpo_proto_t proto, u32 sw_if_index, dpo_id_t *dpo)