summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
AgeCommit message (Expand)Author
2019-02-14Replace hand-rolled cmsg logic with libc's cmsg(3) functions.Alan Somers
2019-01-23Add IP_RECVIF & IP_RECVDSTADDR.Tom Pusateri
2019-01-06Make ScmTimestamp's doc test more robustAlan Somers
2018-12-17Merge #993bors[bot]
2018-12-17Merge #990bors[bot]
2018-12-16Allow 'cargo test' to complete successfully on NetBSD 8.0.Tom Pusateri
2018-12-15Add cmsg PKTINFO for IPv4 and IPv6.Tom Pusateri
2018-12-08Replace try! with ?Alan Somers
2018-11-09Add example for setsockoptPovilas Balciunas
2018-08-15sendmsg: remove unneeded mutIgor Gnatenko
2018-07-27Fix *decoding* of cmsgs and add `ScmCredentials`.Jonas Schievink
2018-07-05Merge #921bors[bot]
2018-07-05Get `SO_PEERCRED` working on all Linux targetsJonas Schievink
2018-07-04Clean up cmsg code and fix passing multiple cmsgsalecmocatta
2018-06-01Remove emulation of FD_CLOEXEC/O_NONBLOCKBryant Mairs
2018-05-28Fix bind() on Android 64-bitBryant Mairs
2018-02-12Expose MSG_CMSG_CLOEXEC on *BSDGreg V
2018-01-28Require Debug impls for all typesBryant Mairs
2018-01-28Deny unused qualificationsBryant Mairs
2018-01-08Impl LinkAddr(MAC Addr)luozijun
2017-12-20Replace '0 as *_' with ptr::null*()Bryant Mairs
2017-12-20Use backticks around types/functions in docsBryant Mairs
2017-12-20Use |= where appropriateBryant Mairs
2017-12-20Use unwrap_or_else instead of unwrap_or without a closureBryant Mairs
2017-12-20Remove unnecessary parenthesisBryant Mairs
2017-12-20Remove unnecessary referencesBryant Mairs
2017-12-20Migrate sys/socket to libc FFI types and fix `msghdr` definition mismatch.Matthew Gregan
2017-12-10Replace ip(v6)_mreq structs with libc equivalentBryant Mairs
2017-12-10Replace custom ucred struct with newtype wrapper around libc::ucredBryant Mairs
2017-12-10Use libc::lingerBryant Mairs
2017-12-10Add more derives for SignalFd and various enumsBryant Mairs
2017-12-05Remove nix-test subcrateBryant Mairs
2017-12-04Stop reexporting `Errno` and its variantsJonas Schievink
2017-12-02Upgrade to Bitflags 1.0Bryant Mairs
2017-10-08Replace most Linux man page links with Open Group man page linksAlan Somers
2017-09-04Add support for SO_TIMESTAMPWesley Wolfe
2017-08-26Replace more FFI instancesBryant Mairs
2017-08-17Merge #725bors[bot]
2017-08-16Match libc_bitflags! syntax to upstream bitflags!Bryant Mairs
2017-08-16Replace extra SOCK_ constants with libc versionsBryant Mairs
2017-08-11Get rid of a lot of transmutesJonas Schievink
2017-08-05Correct access of cmsg ancillary data on first headerWesley Moore
2017-08-01Document AddressFamily and SockTypeNicolas Dusart
2017-08-01add SockProtocol type for third argument of socket and socketpairNicolas Dusart
2017-08-01Document `MsgFlags` constantsNicolas Dusart
2017-08-01add socket constants already present in libcNicolas Dusart
2017-08-01remove sys::sockets::consts module as it's libc goal to define themNicolas Dusart
2017-07-10Fix sendmsg on macOS when passing a zero entry cmsgs array.Matthew Gregan
2017-07-10Simplify Vec allocation in sendmsg after 077d979a removed alignment hacks.Matthew Gregan
2017-07-04Allow nix to compile on android targetsroblabla