FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
mpls_types.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPLS_IETF_MIN_LABEL   0x00000
 
#define MPLS_IETF_MAX_LABEL   0xfffff
 
#define MPLS_IETF_MIN_RESERVED_LABEL   0x00000
 
#define MPLS_IETF_MAX_RESERVED_LABEL   0x0000f
 
#define MPLS_IETF_MIN_UNRES_LABEL   0x00010
 
#define MPLS_IETF_MAX_UNRES_LABEL   0xfffff
 
#define MPLS_IETF_IPV4_EXPLICIT_NULL_LABEL   0x00000
 
#define MPLS_IETF_ROUTER_ALERT_LABEL   0x00001
 
#define MPLS_IETF_IPV6_EXPLICIT_NULL_LABEL   0x00002
 
#define MPLS_IETF_IMPLICIT_NULL_LABEL   0x00003
 
#define MPLS_IETF_ELI_LABEL   0x00007
 
#define MPLS_IETF_GAL_LABEL   0x0000D
 
#define MPLS_IETF_ENTROPY_LABEL   0x0000E
 
#define MPLS_IETF_IPV4_EXPLICIT_NULL_STRING   "ip4-explicit-null"
 
#define MPLS_IETF_IPV4_EXPLICIT_NULL_BRIEF_STRING   "e-nul"
 
#define MPLS_IETF_IMPLICIT_NULL_STRING   "implicit-null"
 
#define MPLS_IETF_IMPLICIT_NULL_BRIEF_STRING   "i-nul"
 
#define MPLS_IETF_ROUTER_ALERT_STRING   "router-alert"
 
#define MPLS_IETF_ROUTER_ALERT_BRIEF_STRING   "r-alt"
 
#define MPLS_IETF_IPV6_EXPLICIT_NULL_STRING   "ipv6-explicit-null"
 
#define MPLS_IETF_IPV6_EXPLICIT_NULL_BRIEF_STRING   "v6enl"
 
#define MPLS_IETF_ELI_STRING   "entropy-label-indicator"
 
#define MPLS_IETF_ELI_BRIEF_STRING   "eli"
 
#define MPLS_IETF_GAL_STRING   "gal"
 
#define MPLS_IETF_GAL_BRIEF_STRING   "gal"
 
#define MPLS_LABEL_INVALID   (MPLS_IETF_MAX_LABEL+1)
 
#define MPLS_LABEL_IS_REAL(_lbl)
 
#define MPLS_IS_REPLICATE   0x80000000
 The top bit of the index, which is the result of the MPLS lookup is used to determine if the DPO is a load-balance or a replicate. More...
 

Macro Definition Documentation

#define MPLS_IETF_ELI_BRIEF_STRING   "eli"

Definition at line 44 of file mpls_types.h.

#define MPLS_IETF_ELI_LABEL   0x00007

Definition at line 31 of file mpls_types.h.

#define MPLS_IETF_ELI_STRING   "entropy-label-indicator"

Definition at line 43 of file mpls_types.h.

#define MPLS_IETF_ENTROPY_LABEL   0x0000E

Definition at line 33 of file mpls_types.h.

#define MPLS_IETF_GAL_BRIEF_STRING   "gal"

Definition at line 46 of file mpls_types.h.

#define MPLS_IETF_GAL_LABEL   0x0000D

Definition at line 32 of file mpls_types.h.

#define MPLS_IETF_GAL_STRING   "gal"

Definition at line 45 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_BRIEF_STRING   "i-nul"

Definition at line 38 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_LABEL   0x00003

Definition at line 30 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_STRING   "implicit-null"

Definition at line 37 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_BRIEF_STRING   "e-nul"

Definition at line 36 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_LABEL   0x00000

Definition at line 27 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_STRING   "ip4-explicit-null"

Definition at line 35 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_BRIEF_STRING   "v6enl"

Definition at line 42 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_LABEL   0x00002

Definition at line 29 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_STRING   "ipv6-explicit-null"

Definition at line 41 of file mpls_types.h.

#define MPLS_IETF_MAX_LABEL   0xfffff

Definition at line 19 of file mpls_types.h.

#define MPLS_IETF_MAX_RESERVED_LABEL   0x0000f

Definition at line 22 of file mpls_types.h.

#define MPLS_IETF_MAX_UNRES_LABEL   0xfffff

Definition at line 25 of file mpls_types.h.

#define MPLS_IETF_MIN_LABEL   0x00000

Definition at line 18 of file mpls_types.h.

#define MPLS_IETF_MIN_RESERVED_LABEL   0x00000

Definition at line 21 of file mpls_types.h.

#define MPLS_IETF_MIN_UNRES_LABEL   0x00010

Definition at line 24 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_BRIEF_STRING   "r-alt"

Definition at line 40 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_LABEL   0x00001

Definition at line 28 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_STRING   "router-alert"

Definition at line 39 of file mpls_types.h.

#define MPLS_IS_REPLICATE   0x80000000

The top bit of the index, which is the result of the MPLS lookup is used to determine if the DPO is a load-balance or a replicate.

Definition at line 58 of file mpls_types.h.

#define MPLS_LABEL_INVALID   (MPLS_IETF_MAX_LABEL+1)

Definition at line 48 of file mpls_types.h.

#define MPLS_LABEL_IS_REAL (   _lbl)
Value:
(((_lbl) > MPLS_IETF_MIN_UNRES_LABEL) && \
#define MPLS_IETF_MIN_UNRES_LABEL
Definition: mpls_types.h:24
#define MPLS_IETF_MAX_UNRES_LABEL
Definition: mpls_types.h:25

Definition at line 50 of file mpls_types.h.