summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-07-06 23:26:38 +0000
committerhenning <henning@openbsd.org>2004-07-06 23:26:38 +0000
commit58bea7754aa1aa3b576abb42ba9717943f0f7d48 (patch)
tree07f9b98f1ba149b4ad8880e8e16f79a17ad4e058 /sys/dev/usb/uhub.c
parentsizeof(wrong struct) in calloc == bad. ^$&(#^$%&#*)! (diff)
downloadwireguard-openbsd-58bea7754aa1aa3b576abb42ba9717943f0f7d48.tar.xz
wireguard-openbsd-58bea7754aa1aa3b576abb42ba9717943f0f7d48.zip
Implement the clock filter as descirbed by David Mills:
form the last 8 replied received from a peer, find the one with the lowest delay. Use that as the peer's update taken into account for calculating the local clock's offset. Invalidate that reply and all ones received earlier than it so that they do not get used again.
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions