Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-28 | Use sockaddr_nl from libc | Kamal Marhubi | |
2016-01-28 | Derive all the things | Alexander Polakov | |
as suggested by @kamalmarhubi | |||
2016-01-28 | Fix style suggestions regarding #cfg | Alexander Polakov | |
as pointed out by @kamalmarhubi | |||
2016-01-28 | Netlink bits | Alexander Polakov | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | update libc to 0.2.2 | Mattis Marjak | |
2015-10-28 | Fix handling of sockaddr_un lengths | Geoffrey Thomas | |
The returned length of AF_UNIX sockaddrs is significant, and generally does not match the length of the entire structure. For filesystem sockets, this is ignorable because the path is also NUL-terminated, but for unbound sockets (e.g., a socketpair) or abstract-namespace sockets (a Linux extension where the address is an arbitrary bytestring), we need to keep track of the length. Fixes #177. Also add a UnixAddr::new_abstract function and some better handling of abstract-namespace socket addresses to fix #169. | |||
2015-05-21 | Fix NixPath yield with CStr instead of OsStr | Carl Lerche | |
As described in #117, the `AsExtStr` trait is defined to return a raw `*const libc::c_char`. Its impl for `OsStr` simply borrowed the byte slice from its `OsStr` argument and cast it to a `*const libc::c_char`, which does not construct a proper null-terminated C string. Given this, the `AsExtStr` is not necessary and is removed. `NixPath` is updated to yield `CStr`. Fixes #117, #120 Thanks to @dead10ck | |||
2015-04-24 | FromPrimitive is no more | Florian Hartwig | |
2015-04-03 | 'derive(Copy)' needs Clone now | Florian Hartwig | |
2015-04-01 | Remove usage of std::num::Int | Carl Lerche | |
2015-04-01 | Fix argument order for copy* functions | Florian Hartwig | |
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-19 | Track Rust nightlies | Carl Lerche | |
2015-03-14 | Derive FromPrimitive for AddressFamily. | Jan Bujak | |
2015-03-10 | Track Rust nightlies | Carl Lerche | |
2015-02-27 | Further SockAddr & NixPath cleanup | Carl Lerche | |
2015-02-25 | Large cleanup, mostly of socket functions | Carl Lerche | |
2015-02-23 | in_addr conversions + IP_DROP_MEMBERSHIP support | Carl Lerche | |
2015-02-22 | Remove prefix from SockAddr variants | Carl Lerche | |
2015-02-22 | Split up socket module | Carl Lerche | |