summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-03-31 19:57:53 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:15 -0400
commit8fca0ea4e9d09b0ada66b135533a74a643de77ef (patch)
treed11310c86a63ad20fcf6fbfe6447a5c35b3b3ce6 /include
parentd990090384c6a468bb86962baf8bae7b6fd1d2bf (diff)
downloadmusl-8fca0ea4e9d09b0ada66b135533a74a643de77ef.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/netinet/in.h4
1 files changed, 3 insertions, 1 deletions
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 && \