FD.io VPP  v18.01.2-1-g9b554f3
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

index_t mpls_disp_dpo_create (dpo_proto_t payload_proto, fib_rpf_id_t rpf_id, const 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 66 of file mpls_disposition.c.

+ Here is the call graph for this function:

index_t mpls_disp_dpo_create ( dpo_proto_t  payload_proto,
fib_rpf_id_t  rpf_id,
const 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.
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 78 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 395 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.