diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2015-07-08 09:26:45 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2015-07-08 10:58:23 -0400 |
commit | 1c1e3125206ef810dc7282023f6267a33b486233 (patch) | |
tree | 66d580fc1ffb430a40694d6190c14d2368eece7d | |
parent | 2e4250225cf894e11c926007698cea8096a372fb (diff) | |
download | glibc-1c1e3125206ef810dc7282023f6267a33b486233.zip glibc-1c1e3125206ef810dc7282023f6267a33b486233.tar.gz glibc-1c1e3125206ef810dc7282023f6267a33b486233.tar.bz2 |
Add missing Advanced API (RFC3542) (1) defines.
Fixes bug 18643.
Defines IPV6_RECVPATHMTU, IPV6_PATHMTU, and IPV6_DONTFRAG for Linux.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/in.h | 5 |
3 files changed, 13 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2015-07-08 Carlos O'Donell <carlos@redhat.com> + + [BZ #18643] + * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU, + IPV6_PATHMTU, and IPV6_DONTFRAG. + 2015-07-08 Feng Gao <gfree.wind@gmail.com> * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF @@ -20,7 +26,7 @@ (getpwnam_r): Likewise. (fgetpwent_r): Likewise. -2015-06-18 Carlos O'Donell <carlos@redhat.com> +2015-07-08 Carlos O'Donell <carlos@redhat.com> [BZ #18557] * inet/rcmd.c (__validuser2_sa): Check user first to @@ -26,7 +26,7 @@ Version 2.22 18519, 18520, 18522, 18527, 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, 18583, 18585, 18586, 18592, 18593, 18594, 18602, - 18612, 18613, 18619, 18633, 18641. + 18612, 18613, 18619, 18633, 18641, 18643. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h index f684736..887719f 100644 --- a/sysdeps/unix/sysv/linux/bits/in.h +++ b/sysdeps/unix/sysv/linux/bits/in.h @@ -184,6 +184,7 @@ struct in_pktinfo #define IPV6_IPSEC_POLICY 34 #define IPV6_XFRM_POLICY 35 +/* Advanced API (RFC3542) (1). */ #define IPV6_RECVPKTINFO 49 #define IPV6_PKTINFO 50 #define IPV6_RECVHOPLIMIT 51 @@ -195,7 +196,11 @@ struct in_pktinfo #define IPV6_RTHDR 57 #define IPV6_RECVDSTOPTS 58 #define IPV6_DSTOPTS 59 +#define IPV6_RECVPATHMTU 60 +#define IPV6_PATHMTU 61 +#define IPV6_DONTFRAG 62 +/* Advanced API (RFC3542) (2). */ #define IPV6_RECVTCLASS 66 #define IPV6_TCLASS 67 |