package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

Open opens the specified TUN device, sets it to non-blocking mode, and returns its file descriptor.
OpenTAP opens the specified TAP device, sets it to non-blocking mode, and returns its file descriptor.

# Constants

PacketInfoHeaderSize is the size of the packet information header.

# Structs

Device is an opened /dev/net/tun device.
Flags set properties of a Device.
PacketInfoFields contains fields sent through the wire if IFF_NO_PI flag is not set.

# Type aliases

PacketInfoHeader is the wire representation of the packet information sent if IFF_NO_PI flag is not set.