summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-10-02 22:49:54 +0000
committergreen <green@FreeBSD.org>2004-10-02 22:49:54 +0000
commit9f302cddd10c0f628b3434f06deb3d7ce48c3482 (patch)
tree125a4bad88dc011a3c7839fc13d922df5884c914 /sys/netinet6/ip6_output.c
parentc0dc03c5fc1ace84fd4d1de81f0d357cb9068311 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud