FD.io VPP  v16.12-rc0-308-g931be3a
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_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)
 

Macro Definition Documentation

#define MPLS_IETF_ELI_BRIEF_STRING   "eli"

Definition at line 29 of file mpls_types.h.

#define MPLS_IETF_ELI_LABEL   0x00007

Definition at line 17 of file mpls_types.h.

#define MPLS_IETF_ELI_STRING   "entropy-label-indicator"

Definition at line 28 of file mpls_types.h.

#define MPLS_IETF_GAL_BRIEF_STRING   "gal"

Definition at line 31 of file mpls_types.h.

#define MPLS_IETF_GAL_LABEL   0x0000D

Definition at line 18 of file mpls_types.h.

#define MPLS_IETF_GAL_STRING   "gal"

Definition at line 30 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_BRIEF_STRING   "i-nul"

Definition at line 23 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_LABEL   0x00003

Definition at line 16 of file mpls_types.h.

#define MPLS_IETF_IMPLICIT_NULL_STRING   "implicit-null"

Definition at line 22 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_BRIEF_STRING   "e-nul"

Definition at line 21 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_LABEL   0x00000

Definition at line 13 of file mpls_types.h.

#define MPLS_IETF_IPV4_EXPLICIT_NULL_STRING   "ip4-explicit-null"

Definition at line 20 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_BRIEF_STRING   "v6enl"

Definition at line 27 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_LABEL   0x00002

Definition at line 15 of file mpls_types.h.

#define MPLS_IETF_IPV6_EXPLICIT_NULL_STRING   "ipv6-explicit-null"

Definition at line 26 of file mpls_types.h.

#define MPLS_IETF_MAX_LABEL   0xfffff

Definition at line 5 of file mpls_types.h.

#define MPLS_IETF_MAX_RESERVED_LABEL   0x0000f

Definition at line 8 of file mpls_types.h.

#define MPLS_IETF_MAX_UNRES_LABEL   0xfffff

Definition at line 11 of file mpls_types.h.

#define MPLS_IETF_MIN_LABEL   0x00000

Definition at line 4 of file mpls_types.h.

#define MPLS_IETF_MIN_RESERVED_LABEL   0x00000

Definition at line 7 of file mpls_types.h.

#define MPLS_IETF_MIN_UNRES_LABEL   0x00010

Definition at line 10 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_BRIEF_STRING   "r-alt"

Definition at line 25 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_LABEL   0x00001

Definition at line 14 of file mpls_types.h.

#define MPLS_IETF_ROUTER_ALERT_STRING   "router-alert"

Definition at line 24 of file mpls_types.h.

#define MPLS_LABEL_INVALID   (MPLS_IETF_MAX_LABEL+1)

Definition at line 33 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:10
#define MPLS_IETF_MAX_UNRES_LABEL
Definition: mpls_types.h:11

Definition at line 35 of file mpls_types.h.