freebsd-dev/sys/netncp
Seigo Tanimura 243917fe3b Lock down a socket, milestone 1.
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
2002-05-20 05:41:09 +00:00
..
ncp_cfg.h
ncp_conn.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_conn.h
ncp_crypt.c
ncp_file.h
ncp_lib.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
ncp_login.c
ncp_mod.c
ncp_ncp.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_ncp.h
ncp_nls.c
ncp_nls.h Add character translation table between Unix and NetWare according 2002-04-20 05:35:02 +00:00
ncp_rcfile.h
ncp_rq.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_rq.h
ncp_sock.c Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
ncp_sock.h
ncp_subr.c
ncp_subr.h Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ncp_user.h
ncp.h
nwerror.h