zlayer-overlay 0.11.7

Encrypted overlay networking for containers using boringtun userspace WireGuard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Platform-abstracted TUN device traits.
//!
//! Linux/macOS currently delegate TUN handling to boringtun's
//! [`boringtun::device::DeviceHandle`] (see [`crate::transport`]). Windows
//! uses a Wintun adapter explicitly — the `device` feature of boringtun
//! does not support Wintun, so we drive the Windows side ourselves via
//! this module's platform implementation.
//!
//! This is an internal seam only; the public transport API in
//! [`crate::transport`] remains identical across all three targets.

#![allow(dead_code)]

#[cfg(windows)]
pub(crate) mod windows;

#[cfg(windows)]
pub(crate) use self::windows::WindowsTun;