package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ConvertShutdown converts Linux shutdown flags into tcpip shutdown flags.
GetSockOpt can be used to implement the linux syscall getsockopt(2) for sockets backed by a commonEndpoint.
Ioctl performs a socket ioctl.
LinuxToTUNFlags converts Linux TUN flags to a tun.Flags.
New creates a new endpoint socket.
SetSockOpt can be used to implement the linux syscall setsockopt(2) for sockets backed by a commonEndpoint.
TUNFlagsToLinux converts a tun.Flags to Linux TUN flags.
# Constants
DefaultTTL is linux's default TTL.
# Variables
Metrics contains metrics exported by netstack.