FD.io VPP
v19.01.3-6-g70449b9b9
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 46 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 546 of file mpls_disposition.c.
mpls_disp_dpo_t* mpls_disp_dpo_pool |
Definition at line 24 of file mpls_disposition.c.