Documentation
¶
Overview ¶
Package tun provides the TUN frontend surface. The first milestone exposes capability probing and config validation; packet-to-flow adaptation lives in l3ingress.
Index ¶
Constants ¶
View Source
const ( DefaultMTU = 1500 MinMTU = 576 )
Variables ¶
This section is empty.
Functions ¶
func Probe ¶
func Probe() virtualif.Capability
Probe reports whether this process can create a Linux TUN interface. The temporary interface disappears when the probe fd is closed.
Types ¶
type Config ¶
Config describes a TUN ingress requested by an embedding program.
Click to show internal directories.
Click to hide internal directories.