tun-tap-mac

Crates.iotun-tap-mac
lib.rstun-tap-mac
version0.1.2
sourcesrc
created_at2019-02-26 15:49:06.02067
updated_at2019-02-26 15:49:06.02067
descriptionTUN/TAP interface wrapper
homepage
repositoryhttps://github.com/Baoyx007/tuntap-mac.git
max_upload_size
id117390
size40,930
Haven (Baoyx007)

documentation

https://docs.rs/tun-tap

README

TunTap

forked for mac

Travis Build Status

TUN/TAP wrapper for Rust.

The TUN/TAP allows implementing a virtual network adapter in userspace. This provides the bindings for Rust.

Create an Iface object and send or recv packets. Making some sense of the packets is, however, out of scope, you need something else for that.

There's documentation and some examples.

Known issues

  • 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.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 25

cargo fmt