package
0.0.0-20180524224622-583358ac5197
Repository: https://github.com/costinm/netstack.git
Documentation: pkg.go.dev
# Functions
NewConnectioned creates a new unbound connectionedEndpoint.
NewConnectionless creates a new unbound dgram endpoint.
NewPair allocates a new pair of connected unix-domain connectionedEndpoints.
# Constants
SockDgram corresponds to syscall.SOCK_DGRAM.
SockRaw corresponds to syscall.SOCK_RAW.
SockSeqpacket corresponds to syscall.SOCK_SEQPACKET.
SockStream corresponds to syscall.SOCK_STREAM.
# Structs
A ControlMessages represents a collection of socket control messages.
# Interfaces
A BoundEndpoint is a unix endpoint that can be connected to.
A ConnectedEndpoint is an Endpoint that can be used to send Messages.
A ConnectingEndpoint is a connectioned unix endpoint that is attempting to establish a bidirectional connection with a BoundEndpoint.
A Credentialer is a socket or endpoint that supports the SO_PASSCRED socket option.
A CredentialsControlMessage is a control message containing Unix credentials.
Endpoint is the interface implemented by Unix transport protocol implementations that expose functionality like sendmsg, recvmsg, connect, etc.
A Receiver can be used to receive Messages.
A RightsControlMessage is a control message containing FDs.
UniqueIDProvider generates a sequence of unique identifiers useful for, among other things, lock ordering.
# Type aliases
A SockType is a type (as opposed to family) of sockets.