diff options
author | green <green@FreeBSD.org> | 2004-10-02 22:49:54 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-10-02 22:49:54 +0000 |
commit | 9f302cddd10c0f628b3434f06deb3d7ce48c3482 (patch) | |
tree | 125a4bad88dc011a3c7839fc13d922df5884c914 /sys/netinet6/ip6_output.c | |
parent | c0dc03c5fc1ace84fd4d1de81f0d357cb9068311 (diff) | |
download | FreeBSD-src-9f302cddd10c0f628b3434f06deb3d7ce48c3482.zip FreeBSD-src-9f302cddd10c0f628b3434f06deb3d7ce48c3482.tar.gz |
* 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.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions