X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fmpls%2Fmpls_types.h;h=c21bdf1eace063d991382a99ecfe85cde99c5305;hb=refs%2Fchanges%2F81%2F10781%2F7;hp=b1075cdda57253edd289b2cefbf1ba63c5332aa2;hpb=0f26c5a0138ac86d7ebd197c31a09d8d624c35fe;p=vpp.git diff --git a/src/vnet/mpls/mpls_types.h b/src/vnet/mpls/mpls_types.h index b1075cdda57..c21bdf1eace 100644 --- a/src/vnet/mpls/mpls_types.h +++ b/src/vnet/mpls/mpls_types.h @@ -30,6 +30,7 @@ #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" @@ -46,6 +47,14 @@ #define MPLS_LABEL_INVALID (MPLS_IETF_MAX_LABEL+1) +/** + * A value that is explicit about the end of the LSP. Specifying + * a label value is needed when the mode configuration (pipe/uniform) + * is also requested. + * imp-null implies a label swap. pop can be used for a deag. + */ +#define MPLS_LABEL_POP (MPLS_IETF_MAX_LABEL+2) + #define MPLS_LABEL_IS_REAL(_lbl) \ (((_lbl) > MPLS_IETF_MIN_UNRES_LABEL) && \ ((_lbl) <= MPLS_IETF_MAX_UNRES_LABEL))