Add IP_RECVFRAGSIZE from Linux 4.10
Commit Message
Linux 4.10 adds a new IP_RECVFRAGSIZE macro to
include/uapi/linux/in.h. This patch adds it to glibc's
sysdeps/unix/sysv/linux/bits/in.h.
Tested for x86_64.
2017-02-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
Comments
* Joseph Myers:
> Linux 4.10 adds a new IP_RECVFRAGSIZE macro to
> include/uapi/linux/in.h. This patch adds it to glibc's
> sysdeps/unix/sysv/linux/bits/in.h.
>
> Tested for x86_64.
>
> 2017-02-21 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
Looks good to me. The value is just an int, so no new data type is
needed.
@@ -101,6 +101,7 @@
#define IP_NODEFRAG 22
#define IP_CHECKSUM 23
#define IP_BIND_ADDRESS_NO_PORT 24
+#define IP_RECVFRAGSIZE 25
/* IP_MTU_DISCOVER arguments. */
#define IP_PMTUDISC_DONT 0 /* Never send DF frames. */