busybox/networking
James Clarke 518fb3ba19 udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable
The current standard (RFC 3542) is for IPV6_RECVPKTINFO to be given to
setsockopt, and IPV6_PKTINFO to be used as the packet type. Previously,
RFC 2292 required IPV6_PKTINFO to be used for both, but RFC 3542
re-purposed IPV6_PKTINFO when given to setsockopt. The special
Linux-specific IPV6_2292PKTINFO has the same semantics as IPV6_PKTINFO
in RFC 2292, but was introduced at the same time as IPV6_RECVPKTINFO.

Therefore, if we have IPV6_RECVPKTINFO available, we can use the RFC
3542 style, and if not, we assume that only the RFC 2292 API is
available, using IPV6_PKTINFO for both.

Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-10-30 16:06:50 +01:00
..
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00
2017-08-06 20:14:02 +02:00
2017-07-21 09:50:55 +02:00
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00
2017-09-18 13:09:11 +02:00
2017-07-22 03:04:20 +02:00
2017-09-18 15:45:13 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-01-21 14:27:07 +01:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-04-03 21:53:29 +02:00
2017-01-19 15:51:00 +01:00
2017-01-19 15:51:00 +01:00
2017-07-04 16:52:45 +02:00
2017-07-15 17:13:08 +02:00
2017-08-08 21:55:02 +02:00