aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-02-21 18:18:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-21 18:18:24 +0000
commit72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3 (patch)
tree2385617bf9504d8f26f4d471f8a2151a0e49e110
parent2f78098e39e37699ca58699ec43850b8707cb6c3 (diff)
downloadglibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.zip
glibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.tar.gz
glibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.tar.bz2
Add IP_RECVFRAGSIZE from Linux 4.10.
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. * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d901efc..a8f4ac7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-02-21 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
+
2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 483b756..cd7fd31 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -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. */