Implement sending commands via Unix sockets
This commit is contained in:
parent
c8df4b860d
commit
f869cbdb53
14 changed files with 555 additions and 177 deletions
|
|
@ -3,7 +3,8 @@ use std::io::Error;
|
|||
|
||||
use super::TunInterface;
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Debug, Clone, Default)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub struct TunOptions {
|
||||
/// (Windows + Linux) Name the tun interface.
|
||||
pub(crate) name: Option<String>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue