diff options
author | Brian Feldman <green@FreeBSD.org> | 2004-10-02 22:49:54 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2004-10-02 22:49:54 +0000 |
commit | 96ee6195efd347c5dd16a23a4b6ca9cc5890564f (patch) | |
tree | 125a4bad88dc011a3c7839fc13d922df5884c914 /sys/netinet6/ip6_output.c | |
parent | df3d6ec928cae98368e1c5e64b139b4e9788839f (diff) | |
download | src-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