From: Szabolcs Nagy Date: Tue, 31 Mar 2020 19:57:53 +0000 (+0000) Subject: netinet/in.h: add IPPROTO_ macros from linux v5.6 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8fca0ea4e9d09b0ada66b135533a74a643de77ef;p=musl 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 --- 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 && \