summaryrefslogtreecommitdiffstats
path: root/net/mpls/internal.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-05-05 09:06:30 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-05 19:40:36 -0400
commitc967a0873a7836c7a77bf611f1c7d3f47c554c45 (patch)
tree8b8b0a693afd6b644b0bebbbcf82bd6346cb8da6 /net/mpls/internal.h
parentbc321ed2db8ee03b2f2ba809286d3bf4eef1e5e0 (diff)
downloadop-kernel-dev-c967a0873a7836c7a77bf611f1c7d3f47c554c45.zip
op-kernel-dev-c967a0873a7836c7a77bf611f1c7d3f47c554c45.tar.gz
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 'net/mpls/internal.h')
-rw-r--r--net/mpls/internal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/mpls/internal.h b/net/mpls/internal.h
index 693877d..b064c34 100644
--- a/net/mpls/internal.h
+++ b/net/mpls/internal.h
@@ -1,16 +1,6 @@
#ifndef MPLS_INTERNAL_H
#define MPLS_INTERNAL_H
-#define LABEL_IPV4_EXPLICIT_NULL 0 /* RFC3032 */
-#define LABEL_ROUTER_ALERT_LABEL 1 /* RFC3032 */
-#define LABEL_IPV6_EXPLICIT_NULL 2 /* RFC3032 */
-#define LABEL_IMPLICIT_NULL 3 /* RFC3032 */
-#define LABEL_ENTROPY_INDICATOR 7 /* RFC6790 */
-#define LABEL_GAL 13 /* RFC5586 */
-#define LABEL_OAM_ALERT 14 /* RFC3429 */
-#define LABEL_EXTENSION 15 /* RFC7274 */
-
-
struct mpls_shim_hdr {
__be32 label_stack_entry;
};
OpenPOWER on IntegriCloud