diff options
author | Tom Herbert <tom@herbertland.com> | 2015-06-04 09:16:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-04 15:44:30 -0700 |
commit | 730fc4371333636a00fed32c587fc1e85c5367e2 (patch) | |
tree | 538e137a275985570e1a95b97fefdf8e0a264811 /include/uapi | |
parent | ce3b5355477ce99bffa60a6a215f2e11db4b649c (diff) | |
download | op-kernel-dev-730fc4371333636a00fed32c587fc1e85c5367e2.zip op-kernel-dev-730fc4371333636a00fed32c587fc1e85c5367e2.tar.gz |
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')
-rw-r--r-- | include/uapi/linux/in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h index 589ced0..641338b 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 |