16 #ifndef __SIXRD_DPO_H__ 17 #define __SIXRD_DPO_H__ u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
void sixrd_dpo_create(dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
u32 sd_domain
the SIXRD domain index
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 sixrd_dpo_t sixrd_dpo_t
A representation of a 6RD DPO.
void sixrd_dpo_module_init(void)
static sixrd_dpo_t * sixrd_dpo_get(index_t index)
dpo_proto_t sd_proto
The dat-plane protocol.
dpo_type_t sixrd_dpo_type
The register SIXRD DPO type.
A representation of a 6RD DPO.
u16 sd_locks
Number of locks/users of the label.
sixrd_dpo_t * sixrd_dpo_pool
pool of all MPLS Label DPOs