29 lines
466 B
Rust
Executable File
29 lines
466 B
Rust
Executable File
mod node;
|
|
pub use node::*;
|
|
|
|
mod async_main;
|
|
pub use async_main::*;
|
|
|
|
mod ipv6;
|
|
|
|
mod packet;
|
|
pub use packet::*;
|
|
|
|
mod arp;
|
|
pub use arp::*;
|
|
|
|
mod route;
|
|
pub use route::*;
|
|
|
|
mod tuntap;
|
|
pub use tuntap::*;
|
|
|
|
pub const DNS_IP: u32 = (100<<24) + (100<<16) + (100<<8) + 100;
|
|
|
|
#[cfg_attr(target_os = "linux", path = "tun_linux.rs")]
|
|
#[cfg_attr(target_os = "windows", path = "tun_win.rs")]
|
|
mod tun;
|
|
pub use tun::{get_install_channel, restore_dns, arp_reply_arrived};
|
|
|
|
mod device;
|