[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-commits
Subject:    git: if_tun: Clean up tunioctl()
From:       Aaron LI <aly () crater ! dragonflybsd ! org>
Date:       2018-07-31 12:26:46
Message-ID: 20180731122646.6A09F37A997 () crater ! dragonflybsd ! org
[Download RAW message or body]


commit a50e0e62c76c85f67283f9bce5cf9021d64ae2c7
Author: Aaron LI <aly@aaronly.me>
Date:   Tue Jul 31 19:43:48 2018 +0800

    if_tun: Clean up tunioctl()
    
    Introduce a variable 'caddr_t data' to make code cleaner.  Also improve
    the switch flow a bit.
    
    Based on: if_tap.c

Summary of changes:
 sys/net/tun/if_tun.c | 45 +++++++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 20 deletions(-)

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


-- 
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic