projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce3b535
)
mpls: Add definition for IPPROTO_MPLS
author
Tom Herbert
<tom@herbertland.com>
Thu, 4 Jun 2015 16:16:37 +0000
(09:16 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 4 Jun 2015 22:44:30 +0000
(15:44 -0700)
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>
include/uapi/linux/in.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/linux/in.h
b/include/uapi/linux/in.h
index 589ced069e8a1a68a9b1c9336517d66a675a75d2..641338bef65195c18cd4bb042ba95bf64795f0ca 100644
(file)
--- 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