8a984d
commit f9ac84f92f151e07586c55e14ed628d493a5929d
8a984d
Author: Joseph Myers <joseph@codesourcery.com>
8a984d
Date:   Fri Apr 3 18:08:28 2020 +0000
8a984d
8a984d
    Add IPPROTO_ETHERNET and IPPROTO_MPTCP from Linux 5.6 to netinet/in.h.
8a984d
    
8a984d
    This patch adds the IPPROTO_ETHERNET and IPPROTO_MPTCP constants from
8a984d
    Linux 5.6 to glibc's netinet/in.h.
8a984d
    
8a984d
    Tested for x86_64.
8a984d
8a984d
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
8a984d
index c2d12a04aab6c022..5880e909ff3e06fb 100644
8a984d
--- a/inet/netinet/in.h
8a984d
+++ b/inet/netinet/in.h
8a984d
@@ -87,8 +87,12 @@ enum
8a984d
 #define IPPROTO_UDPLITE		IPPROTO_UDPLITE
8a984d
     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
8a984d
 #define IPPROTO_MPLS		IPPROTO_MPLS
8a984d
+    IPPROTO_ETHERNET = 143, /* Ethernet-within-IPv6 Encapsulation.  */
8a984d
+#define IPPROTO_ETHERNET	IPPROTO_ETHERNET
8a984d
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */
8a984d
 #define IPPROTO_RAW		IPPROTO_RAW
8a984d
+    IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
8a984d
+#define IPPROTO_MPTCP		IPPROTO_MPTCP
8a984d
     IPPROTO_MAX
8a984d
   };
8a984d