16 #ifndef __PW_CW_DPO_H__ 17 #define __PW_CW_DPO_H__ static pw_cw_dpo_t * pw_cw_dpo_get(index_t index)
void pw_cw_dpo_module_init(void)
struct pw_cw_dpo_t pw_cw_dpo_t
A representation of a Psuedo Wire Control Word pop DPO.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
void pw_cw_dpo_create(const dpo_id_t *paremt, dpo_id_t *dpo)
Create an PW CW pop.
A representation of a Psuedo Wire Control Word pop DPO.
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.
dpo_id_t pwcw_parent
Next DPO in the graph.
u16 pwcw_locks
Number of locks/users of the label.
pw_cw_dpo_t * pw_cw_dpo_pool
u32 pw_cw_t
A Psuedo Wire Control Word is 4 bytes.
STATIC_ASSERT_SIZEOF(pw_cw_dpo_t, 2 *sizeof(u64))
Assert that the MPLS label object is less than a cache line in size.
u8 * format_pw_cw_dpo(u8 *s, va_list *args)