16 #ifndef __GBP_FWD_DPO_H__ 17 #define __GBP_FWD_DPO_H__ void gbp_fwd_dpo_add_or_lock(dpo_proto_t dproto, dpo_id_t *dpo)
gbp_fwd_dpo_t * gbp_fwd_dpo_pool
pool of all interface DPOs
dpo_type_t gbp_fwd_dpo_get_type(void)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u16 gfd_locks
number of locks.
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type() ...
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 gbp_fwd_dpo_t_ gbp_fwd_dpo_t
The GBP FWD DPO.
static gbp_fwd_dpo_t * gbp_fwd_dpo_get(index_t index)
dpo_proto_t gfd_proto
The protocol of packets using this DPO.