git: wg: Port #21: replace sbintime_t with timespec/getnanouptime()

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:28 PST 2024


commit 2bed72b388f11bb35b3ff62dbfa362e3fad7684f
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Oct 23 11:42:21 2023 +0800

    wg: Port #21: replace sbintime_t with timespec/getnanouptime()
    
    Partially based on OpenBSD's wg code.

Summary of changes:
 sys/net/wg/if_wg.c     | 14 ++++++++-----
 sys/net/wg/wg_cookie.c | 50 +++++++++++++++++++++++++++-----------------
 sys/net/wg/wg_cookie.h |  4 ++--
 sys/net/wg/wg_noise.c  | 56 ++++++++++++++++++++++++++++++--------------------
 4 files changed, 76 insertions(+), 48 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2bed72b388f11bb35b3ff62dbfa362e3fad7684f


-- 
DragonFly BSD source repository


More information about the Commits mailing list