hush/networking
Miroslav Lichvar b434ce7069 ntpd: don't stay at short polling interval
To avoid polling servers frequently slowly increase the interval up
to BIGPOLL when
- no replies are received from a peer
- no source can be selected
- peer claims to be unsynchronized (e.g. we are polling it too
  frequently)

When recv() returns with an error, drop code to try to continue
on network errors: I'm not convinced those cases happen in real life.

function                                             old     new   delta
recv_and_process_peer_pkt                            919     838     -81

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-10-02 17:24:34 +02:00
..
libiproute libbb: use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytes 2014-06-22 14:01:13 +02:00
ssl_helper
udhcp udhcp: add PXELINUX path prefix option (code 210) definition 2014-07-16 14:21:42 +02:00
arp.c
arping.c
brctl.c
Config.src ftpd: add optional support for authentication 2014-08-05 21:57:18 +02:00
dnsd.c
ether-wake.c
ftpd.c ftpd: make LIST command show dotfiles too 2014-09-15 23:35:58 +02:00
ftpgetput.c
hostname.c
httpd_indexcgi.c
httpd_post_upload.txt
httpd_ssi.c
httpd.c
ifconfig.c
ifenslave.c
ifplugd.c
ifupdown.c libbb: rename execable -> executable. No code changes 2014-05-02 17:15:58 +02:00
inetd.c
interface.c
ip.c
ipcalc.c
isrv_identd.c
isrv.c
isrv.h
Kbuild.src
nameif.c
nbd-client.c
nc_bloaty.c nc: fix option bit positions. Closes 6926 2014-02-26 13:58:59 +01:00
nc.c
netstat.c
nslookup.c
ntpd_simple.c use [s]rand(), not [s]random() 2014-03-05 18:58:15 +01:00
ntpd.c ntpd: don't stay at short polling interval 2014-10-02 17:24:34 +02:00
ping.c ping: add -p to specify data pattern 2014-08-27 16:01:25 +02:00
pscan.c
route.c libbb: use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytes 2014-06-22 14:01:13 +02:00
slattach.c
tc.c
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c
telnet.c
telnetd.c
telnetd.ctrlSQ.patch
tftp.c tftpd: tweak HP PA-RISC firmware bug compatibility 2014-09-04 12:24:03 +02:00
traceroute.c
tunctl.c
vconfig.c
wget.c wget: fix a case where progress bar isn't updated if writes are very slow 2014-03-27 16:50:29 +01:00
whois.c
zcip.c zcip: fix link-local IP conflict detection 2014-07-20 14:01:49 +02:00