diff options
author | Tom Herbert <tom@herbertland.com> | 2015-05-05 19:06:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-06 02:40:36 +0300 |
commit | c967a0873a7836c7a77bf611f1c7d3f47c554c45 (patch) | |
tree | 8b8b0a693afd6b644b0bebbbcf82bd6346cb8da6 /include/uapi/linux | |
parent | bc321ed2db8ee03b2f2ba809286d3bf4eef1e5e0 (diff) | |
download | linux-c967a0873a7836c7a77bf611f1c7d3f47c554c45.tar.xz |
mpls: Move reserved label definitions
Move to include/uapi/linux/mpls.h to be externally visibile.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/mpls.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/mpls.h b/include/uapi/linux/mpls.h index bc9abfe88c9a..0fe6ea5a41d5 100644 --- a/include/uapi/linux/mpls.h +++ b/include/uapi/linux/mpls.h @@ -31,4 +31,14 @@ struct mpls_label { #define MPLS_LS_TTL_MASK 0x000000FF #define MPLS_LS_TTL_SHIFT 0 +/* Reserved labels */ +#define MPLS_LABEL_IPV4_EXPLICIT_NULL 0 /* RFC3032 */ +#define MPLS_LABEL_ROUTER_ALERT 1 /* RFC3032 */ +#define MPLS_LABEL_IPV6_EXPLICIT_NULL 2 /* RFC3032 */ +#define MPLS_LABEL_IMPLICIT_NULL 3 /* RFC3032 */ +#define MPLS_LABEL_ENTROPY_INDICATOR 7 /* RFC6790 */ +#define MPLS_LABEL_GAL 13 /* RFC5586 */ +#define MPLS_LABEL_OAM_ALERT 14 /* RFC3429 */ +#define MPLS_LABEL_EXTENSION 15 /* RFC7274 */ + #endif /* _UAPI_MPLS_H */ |