diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-02-21 18:18:24 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-02-21 18:18:24 +0000 |
commit | 72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3 (patch) | |
tree | 2385617bf9504d8f26f4d471f8a2151a0e49e110 | |
parent | 2f78098e39e37699ca58699ec43850b8707cb6c3 (diff) | |
download | glibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.tar.gz glibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.tar.xz glibc-72aaa20bbc3eefd9cb0ea7354761e08fa8516ba3.zip |
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-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/in.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d901efcbab..a8f4ac76ad 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 483b7564c4..cd7fd316d8 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. */ |