git: if_tun: Clean up tunioctl()

Aaron LI aly at
Tue Jul 31 05:26:46 PDT 2018

commit a50e0e62c76c85f67283f9bce5cf9021d64ae2c7
Author: Aaron LI <aly at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list