Uses old Rust 2015
|0.1.2||Aug 9, 2018|
|0.1.1||Mar 24, 2018|
|0.1.0||Dec 3, 2017|
#474 in Network programming
488 downloads per month
Used in 4 crates
TUN/TAP wrapper for Rust.
The TUN/TAP allows implementing a virtual network adapter in userspace. This provides the bindings for Rust.
Iface object and
recv packets. Making some sense of the
packets is, however, out of scope, you need something else for that.
- Tested only on Linux. Probably doesn't work anywhere else, but pull requests adding support for other OSes are welcome.
- The asynchronous interface is very minimal and probably inefficient. It'll need to be extended to allow more flexible or efficient use.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.