summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-07-02remove support for compat_sunos (and m68k4k). ok deraadt guentherTed Unangst
2010-07-01SO_PEERCRED should return ENOTCONN when the sockets are not connectedTheo de Raadt
2010-06-30Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toTheo de Raadt
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
2009-08-10Don't use char arrays for sleep wchans and reuse them.Thordur I. Bjornsson
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-02-22fix PR 6082: do not create more fd's than will fit in the message onOtto Moerbeek
2009-01-13Change sbreserve() to return 0 on success, 1 on failure, as god intended.Bret Lambert
2008-10-09Change sb_timeo to unsigned, so that even if some calculation (ie. n * HZ)Theo de Raadt
2008-08-07don't wait for a free mbuf cluster in sosend() and enter the existingReyk Floeter
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)Michael Knudsen
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2008-05-09Add SO_BINDANY socket option from BSD/OS.Markus Friedl
2008-05-02Make the SO_TIMESTAMP sockopt work. When set, this allows the user toChris Kuethe
2007-12-20Remove an obsolete nfs kludge, spotted by Frank Denis (many thanks), also the...Charles Longeau
2007-02-26exclude control data from the number of bytes returned by FIONREAD ioctl()Kurt Miller
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
2006-06-10allow SO_SNDBUF and SO_RECVBUF setsockopts on existing sockets to succeedBob Beck
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-01-05ansi/deregisterJonathan Gray
2005-09-16backout until we find a socket state for initTheo de Raadt
2005-09-10upon shutdown(), if socket is unconnected return ENOTCONN; ok millertTheo de Raadt
2005-08-11Use SHUT_* values directly in soshutdown() instead of convertingTodd C. Miller
2005-05-27add a field to struct socket that stores the pid of the process thatDaniel Hartmeier
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
2004-11-18enable receive() accounting and use uio_procp for send() accounting, tooMarkus Friedl
2004-09-16add hint for lower layer that a sosend() is in progress (SS_ISSENDING)Markus Friedl
2004-07-28Call dom_dispose() for any SCM_RIGHTS message that went through theTodd C. Miller
2004-04-19also use sbcheckreserve() for setsockopt of SO_SNDBUF and SO_RCVBUFTheo de Raadt
2004-04-01use NULL for ptrs. parts from Joris VinkTed Unangst
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-03knfTheo de Raadt
2002-11-27Avoid possible wraparound when checking timeout size; mickey@ OKTodd C. Miller
2002-11-27fix an underflow in socket timeout calculations.Michael Shalayeff
2002-08-08redo socketbuf speedup.Niels Provos
2002-08-08backout the tree break. ok pb@, art@Todd T. Fries
2002-08-08socket buf speedup from thorpej@netbsd, okay art@ ericj@:Niels Provos
2002-06-11splassert where necessaryArtur Grabowski
2002-05-11track egid/rgid on bound/connected sockets too (pf will use this)Theo de Raadt
2002-02-05Do range check on SO_LINGER, closes pr#2375. art@ okThomas Nordin
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-11-28avoid possible infinite loop in sosend() on 64bit systems. - from netbsdEric Jackson
2001-11-27change socket allocation to pool allocator; from netbsd; okay niklas@Niels Provos
2001-11-27fix an error in sosend() that could make a transient error permant.Niels Provos
2001-11-27change socket connection queues to use TAILQ_Niels Provos
2001-06-22KNFTheo de Raadt
2001-05-25recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket.Jun-ichiro itojun Hagino