rwatson 7bfe3e80fc Introduce a mutex into struct sockbuf, sb_mtx, which will be used to
protect fields in the socket buffer.  Add accessor macros to use the
mutex (SOCKBUF_*()).  Initialize the mutex in soalloc(), and destroy
it in sodealloc().  Add addition, add SOCK_*() access macros which
will protect most remaining fields in the socket; for the time being,
use the receive socket buffer mutex to implement socket level locking
to reduce memory overhead.

Submitted by:	sam
Sponosored by:	FreeBSD Foundation
Obtained from:	BSD/OS
2004-06-12 16:08:41 +00:00
..
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-04-05 10:17:23 +00:00
2004-06-11 11:16:26 +00:00
2004-06-08 10:37:30 +00:00
2004-06-11 17:48:20 +00:00
2003-06-11 00:56:59 +00:00
2004-05-03 22:54:46 +00:00
2003-06-11 00:56:59 +00:00
2004-06-09 09:41:30 +00:00
2004-06-11 11:16:26 +00:00
2004-06-11 11:16:26 +00:00
2003-06-11 00:56:59 +00:00
2004-06-11 11:16:26 +00:00
2003-06-11 00:56:59 +00:00
2004-06-11 17:48:20 +00:00
2004-06-11 11:16:26 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 06:34:30 +00:00
2004-02-21 21:10:55 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-04-12 23:02:21 +00:00
2004-02-17 10:21:03 +00:00
2004-03-31 08:20:44 +00:00
2004-04-05 10:17:23 +00:00
2003-06-11 00:56:59 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-06-11 11:16:26 +00:00
2004-06-11 11:16:26 +00:00
2004-02-21 21:10:55 +00:00
2004-06-11 11:16:26 +00:00
2004-05-30 20:34:58 +00:00
2004-06-11 11:16:26 +00:00
2004-05-30 20:34:58 +00:00
2004-06-11 11:16:26 +00:00
2004-05-31 19:06:01 +00:00
2004-06-11 11:16:26 +00:00