package
0.0.0-20191123085552-55fcc16cd0eb
Repository: https://github.com/windom/netstack.git
Documentation: pkg.go.dev

# Functions

New creates a new fd-based endpoint.
NewInjectable creates a new fd-based InjectableEndpoint.

# Constants

MaxMsgsPerRecv is the maximum number of packets we want to retrieve in a single RecvMMsg call.
PacketMMap enables use of PACKET_RX_RING to receive packets from the NIC.
Readv is the default dispatch mode and is the least performant of the dispatch options but the one that is supported by all underlying FD types.
RecvMMsg enables use of recvmmsg() syscall instead of readv() to read inbound packets.

# Variables

BufConfig defines the shape of the vectorised view used to read packets from the NIC.

# Structs

InjectableEndpoint is an injectable fd-based endpoint.
Options specify the details about the fd-based endpoint to be created.

# Type aliases

PacketDispatchMode are the various supported methods of receiving and dispatching packets from the underlying FD.