summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2012-07-22unp_dispose() walks not just the mbuf chain (m_next) but also the packetPhilip Guenthe
2012-07-10For setsockopt(SO_{SND,RCV}TIMEO), convert the timeval to ticks usingPhilip Guenthe
2012-07-10Try to cleanup the macro magic because of socket spliceing. Since structClaudio Jeker
2012-07-07Fix two races in socket splicing. When somove() gets called fromAlexander Bluhm
2012-04-24In sosend() for AF_UNIX control message sending, correctly calculateTheo de Raadt
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2012-03-14Close a race that would corrupt a sockbuf because the code that externalizesMark Kettenis
2011-08-23iPrevent that a socket splicing timeout error in one direction isAlexander Bluhm
2011-07-04Implement an idle timeout for the socket splicing. A new `sp_idle'Mike Belopuhov
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-05-02recognize SO_RTABLE socket option at the SOL_SOCKET level;Mike Belopuhov
2011-04-19Put splice cleanup code into a common function sounsplice().Alexander Bluhm
2011-04-04Plug mbuf leaks in SO_PEERCRED by not double allocating mbufs intoClaudio Jeker
2011-04-04If the socket was half closed then don't let userland change theClaudio Jeker
2011-03-14When a process reads from a spliced socket that already got anAlexander Bluhm
2011-03-12There existed a race when a process was trying to read from a splicedAlexander Bluhm
2011-02-28When the maximum splice length has been reached, send out the dataAlexander Bluhm
2011-01-07Add socket option SO_SPLICE to splice together two TCP sockets.Alexander Bluhm
2010-09-24TCP send and recv buffer scaling.Claudio Jeker
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