summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_socket.c
AgeCommit message (Collapse)Author
1998-04-25Aparently the socketpair bug is fixed in current Linux kernels soTodd C. Miller
back out my last change.
1998-04-25Linux has SHUT_RD and SHUT_WR reversed in the ``how'' argument. PresumablyTodd C. Miller
they will fix this sometime, after which this change should be backed out. Pointed out by tchrist@perl.com
1998-02-10recover from lint changes elsewhere, not completely testedTheo de Raadt
1998-02-07emulate linux connect() braindamage even better -- only do so on asyncTheo de Raadt
sockets; pb@fasterix.freenix.org
1997-12-14support IP_HDRINCLTheo de Raadt
1997-12-10add GIFMETRIC and GIFMTUNiels Provos
1997-12-10emulate linux SIOCGIFHWADDR; stolen from freebsd; not tested yetTheo de Raadt
1997-11-27oh, connect() semantics are EVEN WORSETheo de Raadt
1997-11-26If using async connect(), after select for writeable, if getpeername()Theo de Raadt
indicates connection failure, you can use getsockopt(SOL_SOCKET, SO_ERROR, ...) to find the error. But the linux people I guess didn't know about this, and changed connect() so that a 2nd connect() call on a failed socket returns the error directly. Fake this demented non-standard behaviour which Linux users are now starting to code to. Talk about dilution of the API...
1997-11-26indentTheo de Raadt
1996-04-17Good fixes and changes from latest Net.Michael Shalayeff
1996-03-08From NetBSD:Michael Shalayeff
linux compatibility changes.
1995-10-18initial import of NetBSD treeTheo de Raadt