DragonFly-2.3.1.129.g3cde3 master sys/net/tap if_tap.c if_tapvar.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon May 25 04:12:18 PDT 2009


commit 3cde3b9da2784bbadc44d2b06dabf392088c4c52
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon May 18 21:17:08 2009 +0800

    tap(4): Add ifclone support
    
    Submitted-by: Naoya Sugioka <naoya.sugioka at gmail.com> w/ following changes:
    
    - Moniro style changes
    - Comment out destroy upon closing, mainly to keep old tap(4) behaviour
    - Poll interface should return 0 instead of nevent
    - Use SLITS_FOREACH_MUTABLE() when destroying tap interfaces
    - Pass tap_softc to tapdestroy()
    - tap_entries -> tap_link
    - Cloners handle their own attach/detach events
    - Correct tapuponopen support

Summary of changes:
 sys/net/tap/if_tap.c    |  216 +++++++++++++++++++++++++++++++++++------------
 sys/net/tap/if_tapvar.h |    3 +
 2 files changed, 163 insertions(+), 56 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3cde3b9da2784bbadc44d2b06dabf392088c4c52


-- 
DragonFly BSD source repository





More information about the Commits mailing list