package
0.1.2
Repository: https://github.com/ngvpn/netstack.git
Documentation: pkg.go.dev

# Functions

BlockingPoll on amd64/arm64 makes the ppoll() syscall while calling the version of entersyscall that relinquishes the P so that other Gs can run.
BlockingRead reads from a file descriptor that is set up as non-blocking.
BlockingReadv reads from a file descriptor that is set up as non-blocking and stores the data in a list of iovecs buffers.
BlockingRecvMMsg reads from a file descriptor that is set up as non-blocking and stores the received messages in a slice of MMsgHdr structures.
GetMTU determines the MTU of a network interface device.
NonBlockingSendMMsg sends multiple messages on a socket.
NonBlockingWrite writes the given buffer to a file descriptor.
NonBlockingWrite3 writes up to three byte slices to a file descriptor in a single syscall.
TranslateErrno translate an errno from the syscall package into a *tcpip.Error.

# Structs

MMsgHdr represents the mmsg_hdr structure required by recvmmsg() on linux.
PollEvent represents the pollfd structure passed to a poll() system call.