summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2013-04-05remove some obsolete castsTed Unangst
2013-04-04Do not allow the listen(2) syscall for an already connected socket.Alexander Bluhm
2013-03-27Move soidle() into the big #ifdef SOCKET_SPLICE block to have itAlexander Bluhm
2013-03-19After a socket splicing timeout is fired, a network interrupt canAlexander Bluhm
2013-02-16Fix a bug in udp socket splicing in case a packet gets diverted andAlexander Bluhm
2013-01-17Expand the socket splicing functionality from TCP to UDP. MergeAlexander Bluhm
2013-01-15Pass an EFBIG error to user land when the maximum splicing lengthAlexander Bluhm
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safeAlexander Bluhm
2012-12-31Put the #ifdef SOCKBUF_DEBUG around sbcheck() into a SBCHECK macro.Alexander Bluhm
2012-10-05add send(2) MSG_DONTWAIT support which enables us to choose nonblockingYASUOKA Masahiko
2012-09-20In somove() free the mbufs when necessary instead of freeing themAlexander Bluhm
2012-09-19When a socket is spliced, it may not wakeup the userland for reading.Alexander Bluhm
2012-09-19In somove() make the call to pr_usrreq(PRU_RCVD) under the sameAlexander Bluhm
2012-09-17Fix indent white spaces.Alexander Bluhm
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