]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add IPPROTO_ETHERNET and IPPROTO_MPTCP from Linux 5.6 to netinet/in.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 3 Apr 2020 18:08:28 +0000 (18:08 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 3 Apr 2020 18:08:28 +0000 (18:08 +0000)
This patch adds the IPPROTO_ETHERNET and IPPROTO_MPTCP constants from
Linux 5.6 to glibc's netinet/in.h.

Tested for x86_64.

inet/netinet/in.h

index 95eaf68dfeedcfe964dd785a1f39d8fb2be62155..f6355c7efe5192b88337b136ef687fe9a5ed648c 100644 (file)
@@ -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
   };