FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
mpls_disposition.h File Reference
+ Include dependency graph for mpls_disposition.h:
+ This graph shows which files directly or indirectly include this file:

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...
 
u8format_mpls_disp_dpo (u8 *s, va_list *args)
 
static mpls_disp_dpo_tmpls_disp_dpo_get (index_t index)
 
void mpls_disp_dpo_module_init (void)
 

Variables

mpls_disp_dpo_tmpls_disp_dpo_pool
 

Typedef Documentation

A representation of an MPLS label for imposition in the data-path.

Function Documentation

u8* format_mpls_disp_dpo ( u8 s,
va_list *  args 
)

Definition at line 82 of file mpls_disposition.c.

+ Here is the call graph for this function:

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.

Parameters
payload_protoThe ptocool of the payload packets that will be imposed with this label header.
rpf_idThe RPF ID the packet will aquire - only for mcast
modeThe LSP mode; pipe or uniform
dpoThe parent of the created MPLS label object

Definition at line 46 of file mpls_disposition.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static mpls_disp_dpo_t* mpls_disp_dpo_get ( index_t  index)
inlinestatic

Definition at line 93 of file mpls_disposition.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mpls_disp_dpo_module_init ( void  )

Definition at line 546 of file mpls_disposition.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

mpls_disp_dpo_t* mpls_disp_dpo_pool

Definition at line 24 of file mpls_disposition.c.