diff options
author | Tom Herbert <tom@herbertland.com> | 2015-06-04 18:16:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-05 00:44:30 +0200 |
commit | 730fc4371333636a00fed32c587fc1e85c5367e2 (patch) | |
tree | 538e137a275985570e1a95b97fefdf8e0a264811 | |
parent | net: Simplify GRE case in flow_dissector (diff) | |
download | linux-730fc4371333636a00fed32c587fc1e85c5367e2.tar.xz linux-730fc4371333636a00fed32c587fc1e85c5367e2.zip |
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>
-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 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 |