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

# Functions

NewStack returns an empty Stack containing no configuration.

# Variables

AllowAllProtocols indicates that all protocols are allowed by the stack and in the syscall filters.
AllowedRawSocketTypes are the socket types which are supported by hostinet with raw sockets enabled.
AllowedSocketTypes are the socket types which are supported by hostinet.
SockOpts are the socket options supported by hostinet by making syscalls to the host.

# Structs

AllowedSocketType is a tuple of socket family, type, and protocol.
Socket implements socket.Socket (and by extension, vfs.FileDescriptionImpl) for host sockets.
SockOpt is used to generate get/setsockopt handlers and filters.
Stack implements inet.Stack for host sockets.