git: if_tun: Add sysctl net.link.tun.{refcnt,debug}

Aaron LI aly at crater.dragonflybsd.org
Thu Jul 19 01:15:18 PDT 2018


commit 98e874e52520ad50c29307adf4754a2465666477
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jul 8 10:17:20 2018 +0800

    if_tun: Add sysctl net.link.tun.{refcnt,debug}
    
    Add read-only sysctl net.link.tun.refcnt to show the number of opened
    devices.
    
    Add sysctl net.link.tun.debug to be a alias to debug.if_tun_debug.

Summary of changes:
 sys/net/tun/if_tun.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/98e874e52520ad50c29307adf4754a2465666477


-- 
DragonFly BSD source repository


More information about the Commits mailing list