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
..
libiproute iproute/iprule: support toolchains without RTA_TABLE routing attribute 2017-10-27 19:25:08 +02:00
ssl_helper
ssl_helper-wolfssl Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
udhcp whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
arp.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
arping.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
brctl.c brctl: make it NOEXEC 2017-08-06 20:14:02 +02:00
Config.src config: deindent all help texts 2017-07-21 09:50:55 +02:00
dnsd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
ether-wake.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ftpd.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ftpgetput.c ftpgetput: show only short options in --help text 2017-08-08 22:33:02 +02:00
hostname.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
httpd_helpers.sh Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
httpd_indexcgi.c
httpd_post_upload.cgi Make POST upload example script easier to use 2016-12-22 15:33:11 +01:00
httpd_ssi.c
httpd.c httpd: fix handling of range requests 2017-09-18 13:09:11 +02:00
ifconfig.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
ifenslave.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
ifplugd.c zcip: fix slow environment leak 2017-07-22 03:04:20 +02:00
ifupdown.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
inetd.c build system: remove unused CONFIG_FEATURE_HAVE_RPC 2017-08-14 12:25:55 +02:00
interface.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
ip.c ip,ip*: make them NOEXEC 2017-09-18 15:45:13 +02:00
ipcalc.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
isrv_identd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
isrv.c Spelling fixes in comments, documentation, tests and examples 2017-04-17 16:13:32 +02:00
isrv.h
Kbuild.src Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nameif.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
nbd-client.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
nc_bloaty.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
nc.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
netstat.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
nslookup.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
ntpd.c ntpd: perform DNS resolution out of send/receive loop - closes 10466 2017-10-28 17:56:43 +02:00
ntpd.diff
ping.c networking: Fall back on IPPROTO_RAW when SOL_RAW is not defined 2017-10-30 14:51:25 +01:00
pscan.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
route.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
slattach.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ssl_client.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
tc.c ip: better --help 2017-01-21 14:27:07 +01:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
telnet.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
telnetd.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
telnetd.ctrlSQ.patch *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tls_aes.c Move get_unaligned_le32() macros to platform.h 2017-07-15 20:22:25 +02:00
tls_aes.h tls: fold AES CBC en/decryption into single functions 2017-02-04 16:23:49 +01:00
tls_pstm_montgomery_reduce.c tls: remove last int16 local variables in pstm code 2017-07-15 17:19:38 +02:00
tls_pstm_mul_comba.c tls: remove last int16 local variables in pstm code 2017-07-15 17:19:38 +02:00
tls_pstm_sqr_comba.c tls: remove last int16 local variables in pstm code 2017-07-15 17:19:38 +02:00
tls_pstm.c tls: remove last int16 local variables in pstm code 2017-07-15 17:19:38 +02:00
tls_pstm.h tls: avoid using int16 in pstm code 2017-04-03 21:53:29 +02:00
tls_rsa.c tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_rsa.h tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_symmetric.h tls: set TLS_DEBUG to 0; placate a gcc indentation warning 2017-01-23 01:15:13 +01:00
tls.c tls: use capped SNI len everywhere 2017-07-04 16:52:45 +02:00
tls.h tls: fix pstm asm constraint problem 2017-07-15 17:13:08 +02:00
traceroute.c udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable 2017-10-30 16:06:50 +01:00
tunctl.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
vconfig.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
wget.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
whois.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
zcip.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00