>From 21f9d9c5bb82271dd2eecff678f61db1f3912cca Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 31 Mar 2020 19:57:53 +0000 Subject: [PATCH 03/10] netinet/in.h: add IPPROTO_ macros from linux v5.6 add IPPROTO_ETHERNET and IPPROTO_MPTCP, see linux commit 2677625387056136e256c743e3285b4fe3da87bb seg6: fix SRv6 L2 tunnels to use IANA-assigned protocol number linux commit faf391c3826cd29feae02078ca2022d2f912f7cc tcp: Define IPPROTO_MPTCP --- include/netinet/in.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/netinet/in.h b/include/netinet/in.h index 103d2e04..36a2013a 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -101,8 +101,10 @@ uint16_t ntohs(uint16_t); #define IPPROTO_MH 135 #define IPPROTO_UDPLITE 136 #define IPPROTO_MPLS 137 +#define IPPROTO_ETHERNET 143 #define IPPROTO_RAW 255 -#define IPPROTO_MAX 256 +#define IPPROTO_MPTCP 262 +#define IPPROTO_MAX 263 #define IN6_IS_ADDR_UNSPECIFIED(a) \ (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \ -- 2.24.1