summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-07-07 01:01:28 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-07-07 01:01:28 +0000
commitb4ef1da0fa0b71751fb8a6071c0e05356ae40886 (patch)
tree992922ceeac13a0fbda8bb55aaaac54ea1ea92dd /sys/dev/usb/uhub.c
parentba7f0c4eefcc2a1f5b0b7a4ca7c181aa1c32e832 (diff)
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