git: wg: Reorganize wg_packet and wg_queue functions

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 15 00:28:03 PST 2024


commit ad63988955ecd902dcbffd33e0f75e62f137863e
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jan 23 23:50:18 2024 +0800

    wg: Reorganize wg_packet and wg_queue functions
    
    - Move the wg_packet and wg_queue functions to the beginning part, which
      seems more appropriate.
    - Remove the unnecessary function prototypes.
    - Add a brief description about the various queues, especially about the
      parallel and serial queues.
    - Add several more comments to help understand the code.
    
    No functional changes.

Summary of changes:
 sys/net/wg/if_wg.c | 438 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 233 insertions(+), 205 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad63988955ecd902dcbffd33e0f75e62f137863e


-- 
DragonFly BSD source repository


More information about the Commits mailing list