git: wg: Add wg_timers_get_persistent_keepalive() to get PKA

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


commit 45b0390634f117a9c31bec6a8c32efe88402b075
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jan 13 16:25:49 2024 +0800

    wg: Add wg_timers_get_persistent_keepalive() to get PKA
    
    In sync with wg_timers_set_persistent_keepalive(), the atomic ops is
    used to get the pka value.
    
    Referred-to: OpenBSD

Summary of changes:
 sys/net/wg/if_wg.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/45b0390634f117a9c31bec6a8c32efe88402b075


-- 
DragonFly BSD source repository


More information about the Commits mailing list