16 #ifndef __MPLS_LABEL_DPO_H__ 17 #define __MPLS_LABEL_DPO_H__ void mpls_label_dpo_module_init(void)
mpls_label_dpo_t * mpls_label_dpo_pool
u32 mpls_label_t
A label value only, i.e.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
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.
u8 * format_mpls_label_dpo(u8 *s, va_list *args)
index_t mpls_label_dpo_create(mpls_label_t label, mpls_eos_bit_t eos, u8 ttl, u8 exp, const dpo_id_t *dpo)
static mpls_label_dpo_t * mpls_label_dpo_get(index_t index)
struct mpls_label_dpo_t mpls_label_dpo_t
A representation of an MPLS label for imposition in the data-path.
dpo_id_t mld_dpo
Next DPO in the graph.
u16 mld_locks
Number of locks/users of the label.
mpls_unicast_header_t mld_hdr
The MPLS label header to impose.
A representation of an MPLS label for imposition in the data-path.
enum mpls_eos_bit_t_ mpls_eos_bit_t