Implement TunInterfaceOptions

This commit is contained in:
dav 2023-06-24 09:24:19 -07:00 committed by David Zhong
parent da065b503f
commit 84f1d91d5c
6 changed files with 83 additions and 9 deletions

View file

@ -3,6 +3,8 @@ use std::{
os::fd::{AsRawFd, FromRawFd, IntoRawFd, RawFd},
};
use super::TunInterfaceOptions;
mod queue;
#[cfg(target_vendor = "apple")]
@ -71,7 +73,7 @@ mod test {
use super::*;
use std::io::Write;
use std::net::Ipv4Addr;
#[throws]