about summary refs log tree commit diff
path: root/inet/netinet
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-04-03 18:08:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-04-03 18:08:28 +0000
commitf9ac84f92f151e07586c55e14ed628d493a5929d (patch)
tree9e2e63d4f9b4230e7d50635e113e6e0d623f1ab8 /inet/netinet
parente788beaf093bfafecd6b4456b984bd927c18987a (diff)
downloadglibc-f9ac84f92f151e07586c55e14ed628d493a5929d.tar.gz
glibc-f9ac84f92f151e07586c55e14ed628d493a5929d.tar.xz
glibc-f9ac84f92f151e07586c55e14ed628d493a5929d.zip
Add IPPROTO_ETHERNET and IPPROTO_MPTCP from Linux 5.6 to netinet/in.h.
This patch adds the IPPROTO_ETHERNET and IPPROTO_MPTCP constants from
Linux 5.6 to glibc's netinet/in.h.

Tested for x86_64.
Diffstat (limited to 'inet/netinet')
-rw-r--r--inet/netinet/in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index 95eaf68dfe..f6355c7efe 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -87,8 +87,12 @@ enum
 #define IPPROTO_UDPLITE		IPPROTO_UDPLITE
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
 #define IPPROTO_MPLS		IPPROTO_MPLS
+    IPPROTO_ETHERNET = 143, /* Ethernet-within-IPv6 Encapsulation.  */
+#define IPPROTO_ETHERNET	IPPROTO_ETHERNET
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */
 #define IPPROTO_RAW		IPPROTO_RAW
+    IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
+#define IPPROTO_MPTCP		IPPROTO_MPTCP
     IPPROTO_MAX
   };