Documentation ¶
Overview ¶
Package tun interfaces with the linux kernel to provide access to net tuns.
Index ¶
Constants ¶
View Source
const (
// IfaceNameMaxLen is the maximum allowed length of tun interface names in bytes (not runes).
IfaceNameMaxLen = 16
)
Variables ¶
View Source
var ( // ErrMTU indicates that a packet is too large for the tun MTU. ErrMTU = errors.New("packet too large for MTU") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.