diff options
author | brian <brian@FreeBSD.org> | 2001-04-03 01:22:15 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-04-03 01:22:15 +0000 |
commit | 093bd1b31909de4259bfe764416b111bc1d8e051 (patch) | |
tree | 6fb69d1b0584c6e50bc011d45ac0e34c8f45dca7 /sys/net/if_tunvar.h | |
parent | f4dcb13a7f6be1117a3fb2f647475b4e0b28b95b (diff) | |
download | FreeBSD-src-093bd1b31909de4259bfe764416b111bc1d8e051.zip FreeBSD-src-093bd1b31909de4259bfe764416b111bc1d8e051.tar.gz |
Allow MOD_UNLOADs of if_tun, and handle event handler registration
failures in MOD_LOAD.
Dodge duplicate make_dev() calls by (ab)using dev->si_drv2 to
remember if we created the device node via a dev_clone callback
before the d_open call.
Diffstat (limited to 'sys/net/if_tunvar.h')
-rw-r--r-- | sys/net/if_tunvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_tunvar.h b/sys/net/if_tunvar.h index 9be9bf2..e5583f0 100644 --- a/sys/net/if_tunvar.h +++ b/sys/net/if_tunvar.h @@ -48,6 +48,8 @@ struct tun_softc { struct sigio *tun_sigio; /* information for async I/O */ struct selinfo tun_rsel; /* read select */ struct selinfo tun_wsel; /* write select (not used) */ + + struct tun_softc *next; /* Next softc in list */ }; #endif /* !_NET_IF_TUNVAR_H_ */ |