Skip to content

Commit

Permalink
Add missing Advanced API (RFC3542) (1) defines.
Browse files Browse the repository at this point in the history
Fixes bug 18643.

Defines IPV6_RECVPATHMTU, IPV6_PATHMTU, and IPV6_DONTFRAG for Linux.
  • Loading branch information
Carlos O'Donell committed Jul 8, 2015
1 parent 2e42502 commit 1c1e312
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions sysdeps/unix/sysv/linux/bits/in.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 1c1e312

Please sign in to comment.