add IP_RECVFRAGSIZE and IPV6_RECVFRAGSIZE from linux v4.10
authorSzabolcs Nagy <nsz@port70.net>
Sun, 5 Mar 2017 22:58:13 +0000 (22:58 +0000)
committerRich Felker <dalias@aerifal.cx>
Sun, 5 Nov 2017 23:39:29 +0000 (18:39 -0500)
added in linux commit 70ecc24841326396a827deb55c3fefac582a729d

include/netinet/in.h

index 84982f5edf2decfe6aaf6bf78c7396c08a44f01d..f18b478dad4cccef89d97da1ffe856fcf9cf9103 100644 (file)
@@ -200,6 +200,7 @@ uint16_t ntohs(uint16_t);
 #define IP_NODEFRAG        22
 #define IP_CHECKSUM        23
 #define IP_BIND_ADDRESS_NO_PORT 24
+#define IP_RECVFRAGSIZE    25
 #define IP_MULTICAST_IF    32
 #define IP_MULTICAST_TTL   33
 #define IP_MULTICAST_LOOP  34
@@ -361,6 +362,7 @@ struct ip6_mtuinfo {
 #define IPV6_RECVORIGDSTADDR    IPV6_ORIGDSTADDR
 #define IPV6_TRANSPARENT        75
 #define IPV6_UNICAST_IF         76
+#define IPV6_RECVFRAGSIZE       77
 
 #define IPV6_ADD_MEMBERSHIP     IPV6_JOIN_GROUP
 #define IPV6_DROP_MEMBERSHIP    IPV6_LEAVE_GROUP