summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-07-07 01:01:27 +0000
committerhenning <henning@openbsd.org>2004-07-07 01:01:27 +0000
commit84e7b05b146201fedc8624445c4bbbbbc927c4f7 (patch)
tree5998e55825eb6dbab7a471b1358ba2a9aa78ff03 /sys/dev/usb/uhub.c
parentcopyright dates sync; loki@animata.net (diff)
downloadwireguard-openbsd-84e7b05b146201fedc8624445c4bbbbbc927c4f7.tar.xz
wireguard-openbsd-84e7b05b146201fedc8624445c4bbbbbc927c4f7.zip
keep a "trustlevel" per peer. loose credit for loosing a packet, loose
a lot of credit for not having supplied us with enough data within an adjtime run interval, and get a little credit each time we get a good reply packet. if a peer is below 20%, only send a packet occasionally to see wether it is back. send out queries much more often between 20 and 80% to (re-)sync quickly, and above 80% usethe regular interval. do not use peers < 60% for calculating teh local clock offset. designed with theo at the pho, alexander ok
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions