aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2004-10-02 22:49:54 +0000
committerBrian Feldman <green@FreeBSD.org>2004-10-02 22:49:54 +0000
commit96ee6195efd347c5dd16a23a4b6ca9cc5890564f (patch)
tree125a4bad88dc011a3c7839fc13d922df5884c914 /sys/netinet6/ip6_output.c
parentdf3d6ec928cae98368e1c5e64b139b4e9788839f (diff)
downloadsrc-96ee6195efd347c5dd16a23a4b6ca9cc5890564f.tar.gz
src-96ee6195efd347c5dd16a23a4b6ca9cc5890564f.zip
* Use two cdevsw's for ugen(4): one for control endpoints, and one for
data endpoints. The control endpoint doesn't need read/write/poll operations, and more importantly, the thread counts should be separate so that the control endpoint can properly reference itself while deleting and recreating the data endpoints. * Add some macros that handle referencing/releasing devices, and use them for sleeping/woken-up and open/close operations as apppropriate. * Use d_purge for FreeBSD, and a loop testing the open status for all the endpoints for NetBSD and OpenBSD, so that when the device is detached, the right thing always happens.
Notes
Notes: svn path=/head/; revision=136068
Diffstat (limited to 'sys/netinet6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions