summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_proto.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert struct unpcb malloc(9) to pool_get(9).bluhm2019-07-151-1/+2
| | | | OK mpi@ visa@
* AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butguenther2018-04-081-5/+5
| | | | | | | AF_UNIX is both the historical _and_ standard name, so prefer and recommend it in the headers, manpages, and kernel. ok miller@ deraadt@ schwarze@
* raw_init() is dead and <net/raw_cb.h> doesn't need to be included there.mpi2017-11-041-3/+1
|
* Move PRU_DETACH out of pr_usrreq into per proto pr_detachflorian2017-11-021-1/+4
| | | | | | functions to pave way for more fine grained locking. Suggested by, comments & OK mpi
* Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.claudio2017-03-131-1/+4
| | | | | | | Attach is quite a different thing to the other PRU functions and this should make locking a bit simpler. This also removes the ugly hack on how proto was passed to the attach function. OK bluhm@ and mpi@ on a previous version
* Convert domain declarations to C99 initializers.mpi2017-03-021-6/+11
| | | | ok dhill@, florian@, bluhm@
* Use c99 struct initialization with protosw.dhill2017-02-221-13/+19
| | | | | | | This makes it easier to grep for a member, such as .pr_usrreq, and know which functions to review. ok mpi@ bluhm@ jca@
* AF_UNIX SOCK_RAW support (whatever that meant) was broken years ago.guenther2017-02-051-6/+1
| | | | | | FreeBSD and NetBSD deleted it years ago and nothing uses it, so delete it. ok jca@ visa@
* The function raw_input() has not been called since netiso has beenbluhm2017-01-231-2/+2
| | | | | | | | | removed in 2004. The comment about raw_input() above rip_input() was added in 1981, but it is wrong since 1992. After that it has been copied to rip6_input(). (*pr_input)() is never called with the parameters (mbuf, sockproto, sockaddr, sockaddr). So retire raw_input(). OK guenther@ deraadt@
* Kill raw_ctlinput() this function is INCOMPLETE since rev 1.1 and is notclaudio2016-09-051-2/+2
| | | | | needed. All callers using the protosw pr_ctlinput pointer do a NULL check before so there is no need to provide the function.
* Change unp_scan() and its callbacks to pass the array of struct file **guenther2015-07-181-2/+2
| | | | | | | | and a count instead of calling the callback on each one, while also renders the 'dispose' argument superfluous. Move unp_*() prototypes from <sys/un.h> to <sys/unpcb.h> ok claudio@ mpi@
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Implement SOCK_SEQPACKET for UNIX sockets.matthew2011-07-061-1/+6
| | | | ok claudio@
* - use nitems() no binary change on amd64jasper2011-04-051-2/+2
| | | | "reads OK" claudio@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Allow PF_LOCAL as the proto arg in socketpair(2). Previously, onlymillert1998-04-261-4/+4
| | | | PF_UNSPEC would work. Needed for general sanity as well as XPG4.2.
* From NetBSD: 960217 mergeniklas1996-03-031-5/+7
|
* initial import of NetBSD treederaadt1995-10-181-0/+74