summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2014-07-09spellingTed Unangst
2014-06-08Use memcpy to copy the sogetopt() SO_SPLICE off_t value, for it may not beMiod Vallat
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2014-03-18When creating a unix socket, save the PID for pf's log(user), even whenPhilip Guenther
2014-01-21Don't leak kernel stack in timeval padding in getsockopt(SO_{SND,RCV}TIMEO)Philip Guenther
2014-01-11When I created UDP socket splicing, I added the goto nextpkt loopAlexander Bluhm
2013-12-10dead assignment; from david hill, ok claudioMike Belopuhov
2013-08-27Manipulate timevals seperately, not inside a mbuf. Alignment constraintsTheo de Raadt
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