⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module tunnel

Module tunnel 

Source
Expand description

Virtual Tunnel Interface (TUN/TAP)

Provides L3 (TUN) and L2 (TAP) virtual network interfaces for VPN tunneling. Supports packet queuing, MTU management, route injection, and encapsulation headers for outer tunnel transport.

Structs§

EncapsulationHeader
Outer encapsulation header for tunnel packets
RouteInjection
Route injection manager for tunnel interfaces
TunnelConfig
Configuration for a tunnel interface
TunnelInterface
Virtual tunnel network interface
TunnelManager
Manager for all tunnel interfaces on the system
TunnelRoute
A route entry that directs traffic through a tunnel
TunnelStats
Statistics for a tunnel interface

Enums§

EncapProtocol
Encapsulation protocol for the outer tunnel transport
TunnelError
Tunnel error types
TunnelState
Tunnel interface state
TunnelType
Tunnel device type