FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mpls_disp_dpo_t |
A representation of an MPLS label for imposition in the data-path. More... | |
Typedefs | |
typedef struct mpls_disp_dpo_t | mpls_disp_dpo_t |
A representation of an MPLS label for imposition in the data-path. More... | |
Functions | |
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. More... | |
u8 * | format_mpls_disp_dpo (u8 *s, va_list *args) |
static mpls_disp_dpo_t * | mpls_disp_dpo_get (index_t index) |
void | mpls_disp_dpo_module_init (void) |
Variables | |
mpls_disp_dpo_t * | mpls_disp_dpo_pool |
typedef struct mpls_disp_dpo_t mpls_disp_dpo_t |
A representation of an MPLS label for imposition in the data-path.
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.
payload_proto | The ptocool of the payload packets that will be imposed with this label header. |
rpf_id | The RPF ID the packet will aquire - only for mcast |
mode | The LSP mode; pipe or uniform |
dpo | The parent of the created MPLS label object |
Definition at line 47 of file mpls_disposition.c.
|
inlinestatic |
Definition at line 93 of file mpls_disposition.h.
void mpls_disp_dpo_module_init | ( | void | ) |
Definition at line 549 of file mpls_disposition.c.
mpls_disp_dpo_t* mpls_disp_dpo_pool |
Definition at line 25 of file mpls_disposition.c.