|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __MPLS_DISP_DPO_H__
17 #define __MPLS_DISP_DPO_H__
67 "MPLS Disposition DPO is larger than one cache line.");
dpo_proto_t mdd_payload_proto
The protocol of the payload/packets that are being encapped.
enum dpo_proto_t_ dpo_proto_t
Data path protocol.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
vl_api_tunnel_mode_t mode
static mpls_disp_dpo_t * mpls_disp_dpo_get(index_t index)
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
required for pool_get_aligned.
u32 fib_rpf_id_t
An RPF-ID is numerical value that is used RPF validate.
void mpls_disp_dpo_create(dpo_proto_t payload_proto, fib_rpf_id_t rpf_id, fib_mpls_lsp_mode_t mode, const dpo_id_t *parent, dpo_id_t *dpo)
Create an MPLS label object.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
struct mpls_disp_dpo_t mpls_disp_dpo_t
A representation of an MPLS label for imposition in the data-path.
enum fib_mpls_lsp_mode_t_ fib_mpls_lsp_mode_t
MPLS LSP mode - only valid at the head and tail.
void mpls_disp_dpo_module_init(void)
mpls_disp_dpo_t * mpls_disp_dpo_pool
#define CLIB_CACHE_LINE_BYTES
dpo_id_t mdd_dpo
Next DPO in the graph.
fib_mpls_lsp_mode_t mdd_mode
LSP mode.
fib_rpf_id_t mdd_rpf_id
RPF-ID (if this is an mcast disposition)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
u16 mdd_locks
Number of locks/users of the label.
A representation of an MPLS label for imposition in the data-path.
u8 * format_mpls_disp_dpo(u8 *s, va_list *args)