package
0.0.0-20191009041010-964b57cc9e6e
Repository: https://github.com/letsgo-network/netstack.git
Documentation: pkg.go.dev

# Functions

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.
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.