summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove the Linux emulation code, no longer referenced by anythingnaddy2016-03-021-167/+0
|
* Prefer linux_sockaddr over osockaddr, so the latter can go away.guenther2015-01-191-4/+4
| | | | | | | | | | | sys_socket() supports SOCK_{CLOEXEC,NONBLOCK} now, so build on that. doaccept() supports the non-inheriting-of-O_NONBLOCK, so build on that. Merge compat_sys_{accept,send,recv}() into their only callers. Lie a little and use struct sockaddr in the linux socket syscall args when it's a return argument to avoid a bunch a casts. Delete many other unnecessary sockaddr casts verified with a curl Linux binary
* Don't ignore SOCK_CLOEXEC and SOCK_NONBLOCK.pirofti2012-06-261-1/+3
| | | | | | | CAVEATS: Assumes that a new socket can't have any of the FCNTLFLAGS set on it, which _is_ true, currently... (guenther@) Okay guenther@, deraadt@.
* Add socket type mask to filter out implementation specific flags.pirofti2012-06-191-1/+4
| | | | | | | | | | | The newer glibc's, when creating a socket, add some higher bit flags to the type argument that are used for debug, statistics, profiling whatever. They are not useful and implementation specific. This is needed for DNS resolving, otherwise the nss library from glibc will always fail to do the right thing. Okay jasper@
* add support for MSG_NOSIGNAL.fgsch2011-12-031-2/+14
| | | | linux bits compiled on i386 by sebastia@, mikeb@ ok
* Unify header sentinel names.pirofti2011-04-051-4/+4
|
* do address translation for for socket syscalls that pass addresses inish2002-11-271-1/+2
| | | | | | or out - this allows linux programs that use IPv6 to work (not ipv4 mapped addresses though) - from NetBSD
* translate LINUX_AF_INET6 (10) into AF_INET6.itojun2001-06-211-1/+2
|
* OpenBSD -> NetBSD where previously missed.jasoni2000-07-231-2/+2
|
* support IP_HDRINCLderaadt1997-12-141-3/+4
|
* emulate linux SIOCGIFHWADDR; stolen from freebsd; not tested yetderaadt1997-12-101-1/+40
|
* Good fixes and changes from latest Net.mickey1996-04-171-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+107