summaryrefslogtreecommitdiff
path: root/src/net/if_.rs
AgeCommit message (Collapse)Author
2023-01-13if_nameindex: add illumos targetJohn Gallagher
2022-11-06Reformat everythingAlex Saveau
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
2022-06-06Cleanup cfg blocksRyan Zoeller
Remove obsolete references to target_env = wasi, target_os = nacl, target_os = osx, and a typo'd target_os = fushsia that didn't compile when fixed. - target_env = wasi is dead: https://github.com/rust-lang/rust/pull/60117 - target_os = nacl is dead: https://github.com/rust-lang/rust/pull/45041 - target_os = osx is dead, but I can't find a link.
2022-05-14add haiku supportAl Hoang
* enabled as much functionality and defines that match updated libc definitions for haiku
2021-12-20feature-gate most Nix functionsVincent Dagonneau
Using features reduces build time and size for consumer crates. By default all features are enabled.
2021-06-06Add a wrapper around if_nameindexNoah
2021-05-13Use https instead of httpRyan Zoeller
2021-03-21illumos and Solaris supportJason King
Co-authored-by: Dominik Hassler <hadfl@omnios.org> Co-authored-by: Joshua M. Clulow <josh@sysmgr.org>
2020-05-31Convert the crate to edition 2018Alan Somers
2018-12-08Replace try! with ?Alan Somers
try! is not available in Rust 2018
2018-05-02OpenBSD: remove IFF_NOTRAILERSkpcyrd
IFF_NOTRAILERS has been removed in OpenBSD 6.3 https://github.com/openbsd/src/commit/beb8b0dd5985e55a615b52e593da6e75bab33f3f
2018-02-08Update `InterfaceFlags`寧靜
Add Flags: `IFF_NO_PI`, `IFF_TUN`, `IFF_TAP`.
2017-12-03Add support for getifaddrs. Closes: #650.Markus Wanner
2016-01-27Use NixPath for if_nametoindexKamal Marhubi
2016-01-27Use function name as it is used in C.Marc Brinkmann
2016-01-27Use nix::Result explicitly.Marc Brinkmann
2016-01-27Changed Error type to nix::Error.Marc Brinkmann
2016-01-27Do not use extern, but if_nametoindex from libc instead.Marc Brinkmann
2016-01-27Added if_nametoindex (and necessary module based on Cs net/if.h)Marc Brinkmann