git: wg: Port selftest cookie.c and counter.c
Aaron LI
aly at crater.dragonflybsd.org
Thu Feb 8 08:49:35 PST 2024
commit 9de0ba69cde8d11c54ac2307558fb628a3df7df9
Author: Aaron LI <aly at aaronly.me>
Date: Wed Jan 24 21:30:59 2024 +0800
wg: Port selftest cookie.c and counter.c
Note that 'int sleep_time' would overflow in calculating the tsleep()
timeout ticks, so change it to 'uint64_t' type.
Summary of changes:
sys/net/wg/selftest/cookie.c | 59 +++++++++++-----------
sys/net/wg/selftest/counter.c | 114 +++++++++++++++++++++---------------------
2 files changed, 87 insertions(+), 86 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9de0ba69cde8d11c54ac2307558fb628a3df7df9
--
DragonFly BSD source repository
More information about the Commits
mailing list