|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
20 #ifndef __RECEIVE_DPO_H__
21 #define __RECEIVE_DPO_H__
static receive_dpo_t * receive_dpo_get(index_t index)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
void receive_dpo_module_init(void)
int dpo_is_receive(const dpo_id_t *dpo)
u32 rd_sw_if_index
The Software interface index on which traffic is received.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u16 rd_locks
number oflocks.
struct receive_dpo_t_ receive_dpo_t
The data-path object representing receiveing the packet, i.e.
receive_dpo_t * receive_dpo_pool
pool of all receive DPOs
The data-path object representing receiveing the packet, i.e.
void receive_dpo_add_or_lock(dpo_proto_t proto, u32 sw_if_index, const ip46_address_t *nh_addr, dpo_id_t *dpo)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
ip46_address_t rd_addr
The address on the receive interface.
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
required for pool_get_aligned.
vl_api_interface_index_t sw_if_index