Initial commit
This commit is contained in:
commit
c1e7415871
56 changed files with 3225 additions and 0 deletions
16
tun/src/lib.rs
Normal file
16
tun/src/lib.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#[cfg(target_vendor = "apple")]
|
||||
#[path = "apple/mod.rs"]
|
||||
mod imp;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[path = "linux.rs"]
|
||||
mod imp;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
#[path = "windows/mod.rs"]
|
||||
mod imp;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_vendor = "apple"))]
|
||||
pub(crate) mod unix;
|
||||
|
||||
pub use imp::{TunInterface, TunQueue};
|
||||
Loading…
Add table
Add a link
Reference in a new issue