static map_dpo_t * map_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...
map_dpo_t * map_dpo_pool
pool of all MPLS Label DPOs
void map_t_dpo_create(dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
enum dpo_type_t_ dpo_type_t
Common types of data-path objects New types can be dynamically added using dpo_register_new_type() ...
void map_dpo_create(dpo_proto_t dproto, u32 domain_index, dpo_id_t *dpo)
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
dpo_proto_t md_proto
The dat-plane 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 map_dpo_module_init(void)
struct map_dpo_t map_dpo_t
A representation of a MAP DPO.
u8 * format_map_dpo(u8 *s, va_list *args)
dpo_type_t map_dpo_type
The register MAP DPO type.
u16 md_locks
Number of locks/users of the label.
A representation of a MAP DPO.
dpo_type_t map_t_dpo_type
u32 md_domain
the MAP domain index