summaryrefslogtreecommitdiff
path: root/include/uapi/linux/in.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-06-04 09:16:37 -0700
committerDavid S. Miller <davem@davemloft.net>2015-06-04 15:44:30 -0700
commit730fc4371333636a00fed32c587fc1e85c5367e2 (patch)
tree538e137a275985570e1a95b97fefdf8e0a264811 /include/uapi/linux/in.h
parentce3b5355477ce99bffa60a6a215f2e11db4b649c (diff)
mpls: Add definition for IPPROTO_MPLS
Add uapi define for MPLS over IP. Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/in.h')
-rw-r--r--include/uapi/linux/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h
index 589ced069e8a..641338bef651 100644
--- a/include/uapi/linux/in.h
+++ b/include/uapi/linux/in.h
@@ -69,6 +69,8 @@ enum {
#define IPPROTO_SCTP IPPROTO_SCTP
IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */
#define IPPROTO_UDPLITE IPPROTO_UDPLITE
+ IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */
+#define IPPROTO_MPLS IPPROTO_MPLS
IPPROTO_RAW = 255, /* Raw IP packets */
#define IPPROTO_RAW IPPROTO_RAW
IPPROTO_MAX