mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
non-linux: Apply RFC3542 obsoletion of RFC2292 macros
(IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT, IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU, IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
This commit is contained in:
parent
2a517d91af
commit
d454fd21f4
@ -10,8 +10,10 @@
|
||||
(IPV6_RTHDR): Rename to IPV6_2292RTHDR.
|
||||
(IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
|
||||
(IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
|
||||
(IPV6_RECVPKTINFO): New macro.
|
||||
(IPV6_PKTINFO): New macro.
|
||||
(IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
|
||||
IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
|
||||
IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
|
||||
IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
|
||||
|
||||
2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
|
12
bits/in.h
12
bits/in.h
@ -86,6 +86,18 @@ struct ip_opts
|
||||
/* Advanced API (RFC3542) (1). */
|
||||
#define IPV6_RECVPKTINFO 49
|
||||
#define IPV6_PKTINFO 50
|
||||
#define IPV6_RECVHOPLIMIT 51
|
||||
#define IPV6_HOPLIMIT 52
|
||||
#define IPV6_RECVHOPOPTS 53
|
||||
#define IPV6_HOPOPTS 54
|
||||
#define IPV6_RTHDRDSTOPTS 55
|
||||
#define IPV6_RECVRTHDR 56
|
||||
#define IPV6_RTHDR 57
|
||||
#define IPV6_RECVDSTOPTS 58
|
||||
#define IPV6_DSTOPTS 59
|
||||
#define IPV6_RECVPATHMTU 60
|
||||
#define IPV6_PATHMTU 61
|
||||
#define IPV6_DONTFRAG 62
|
||||
|
||||
/* Obsolete synonyms for the above. */
|
||||
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
|
||||
|
Loading…
Reference in New Issue
Block a user