diff options
| author | Tom Herbert <tom@herbertland.com> | 2015-05-05 12:06:30 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-05-05 19:40:36 -0400 |
| commit | c967a0873a7836c7a77bf611f1c7d3f47c554c45 (patch) | |
| tree | 8b8b0a693afd6b644b0bebbbcf82bd6346cb8da6 /include/uapi/linux | |
| parent | bc321ed2db8ee03b2f2ba809286d3bf4eef1e5e0 (diff) | |
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 { | |||
| 31 | #define MPLS_LS_TTL_MASK 0x000000FF | 31 | #define MPLS_LS_TTL_MASK 0x000000FF |
| 32 | #define MPLS_LS_TTL_SHIFT 0 | 32 | #define MPLS_LS_TTL_SHIFT 0 |
| 33 | 33 | ||
| 34 | /* Reserved labels */ | ||
| 35 | #define MPLS_LABEL_IPV4_EXPLICIT_NULL 0 /* RFC3032 */ | ||
| 36 | #define MPLS_LABEL_ROUTER_ALERT 1 /* RFC3032 */ | ||
| 37 | #define MPLS_LABEL_IPV6_EXPLICIT_NULL 2 /* RFC3032 */ | ||
| 38 | #define MPLS_LABEL_IMPLICIT_NULL 3 /* RFC3032 */ | ||
| 39 | #define MPLS_LABEL_ENTROPY_INDICATOR 7 /* RFC6790 */ | ||
| 40 | #define MPLS_LABEL_GAL 13 /* RFC5586 */ | ||
| 41 | #define MPLS_LABEL_OAM_ALERT 14 /* RFC3429 */ | ||
| 42 | #define MPLS_LABEL_EXTENSION 15 /* RFC7274 */ | ||
| 43 | |||
| 34 | #endif /* _UAPI_MPLS_H */ | 44 | #endif /* _UAPI_MPLS_H */ |
