summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.c
AgeCommit message (Expand)Author
2017-03-14Use if_acquire and if_release instead of using psref API directlyozaki-r
2017-02-03add sendmmsg and recvmmsgchristos
2017-02-03handle accept4 for i386christos
2017-02-03Do not compile accept4 on i386, there is no such syscall in Linux.martin
2017-02-02implement accept4christos
2016-09-13Make the ktrace record written by do_sys_sendmsg/do_sys_recvmsg overridablemartin
2016-08-01Apply pserialize and psref to struct ifaddr and its variantsozaki-r
2016-07-07Switch the address list of intefaces to pslist(9)ozaki-r
2016-07-05Fix psref isn't released in a case of IFADDR_EMPTYozaki-r
2016-06-16Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUNDozaki-r
2016-06-15Protect if_byindex by pserializeozaki-r
2016-05-12Protect ifnet list with psz and psrefozaki-r
2015-07-24Unused inits (harmless).maxv
2015-05-24convert remaining linux_get_sa() users to use linux_get_sa_sb() andrtr
2015-05-02make connect syscall use sockaddr_big and modify pr_{send,connect}rtr
2015-04-03* change pr_bind to accept struct sockaddr * instead of struct mbuf *rtr
2014-11-26Tweak ifconf variantsozaki-r
2014-11-21Tweak linux_getifhwaddrozaki-r
2014-11-09Do not uselessly include <sys/malloc.h>.maxv
2014-05-23Add a funtion that translate socket type value from Linux to NetBSD.njoly
2014-05-17Replace open-coded access (and boundary checking) of ifindex2ifnet withrmind
2014-01-27Add basic IPV6 level socket options support (IPV6_V6ONLY).njoly
2014-01-27Add SO_SNDLOWAT, SO_RCVLOWAT and SO_ACCEPTCONN support for socketnjoly
2013-01-11Use copyin/copyout and linux-specific ifreq structures (they are the samechristos
2012-06-20print proper ktruser names depending on the emulation.christos
2012-03-15Do not read past end of array. Found by gcc -03bouyer
2012-01-20Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressionsjoerg
2011-12-20- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.christos
2011-07-17fail early on socket domain+type combinations we don't supportchristos
2011-06-30dependant -> dependentwiz
2010-11-02update linux_sys_socket() to understand the flags that are nowchs
2009-11-28Add LINUX_SIOCGIFMTU and LINUX_IP_HDRINCL support.dsl
2009-11-13Return the result of copyout. Reminded by Niolas Joly.joerg
2009-11-13Provide SIOCGIFNAME.joerg
2009-06-17Add a new linux_msghdr structure, as its size differs on 64bit archs.njoly
2009-06-16Add LINUX_CMSG_{SPACE,LEN} macros. Use then when calculating thenjoly
2009-06-16For linux cmsg header copyout, use the linux structure size, not thenjoly
2009-06-16Make compat linux sendmsg/recvmsg output msghdr and control messagesnjoly
2009-06-11In sendmsg(2), do copy the msghdr structure before trying to use it.njoly
2008-11-19Make the emulations, exec formats, coredump, NFS, and the NFS serverad
2008-08-06Convert socket options code to use a sockopt structureplunky
2008-07-03Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreqnjoly
2008-06-24Replace references to getsock/getvnode.ad
2008-06-11In linux_sys_sendto, do not unconditionnally set MSG_NAMEMBUF tonjoly
2008-06-09Do set mbuf in all cases, even for salen value of 0; otherwise thisnjoly
2008-04-29In linux_get_sa(), make salen parameter unsigned.njoly
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-24Merge the socket locking patch:ad
2008-04-23Fix locking.ad
2008-03-26- Remove uneeded splsoftnet().ad