Versions in this module Expand all Collapse all v0 v0.1.1 Mar 15, 2021 Changes in this version + var AsyncLoading sync.WaitGroup + var ErrAborted = &Error + var ErrAlreadyBound = &Error + var ErrAlreadyConnected = &Error + var ErrAlreadyConnecting = &Error + var ErrBadAddress = &Error + var ErrBadLinkEndpoint = &Error + var ErrBadLocalAddress = &Error + var ErrClosedForReceive = &Error + var ErrClosedForSend = &Error + var ErrConnectStarted = &Error + var ErrConnectionAborted = &Error + var ErrConnectionRefused = &Error + var ErrConnectionReset = &Error + var ErrDestinationRequired = &Error + var ErrDuplicateAddress = &Error + var ErrDuplicateNICID = &Error + var ErrInvalidEndpointState = &Error + var ErrInvalidOptionValue = &Error + var ErrMessageTooLong = &Error + var ErrNetworkUnreachable = &Error + var ErrNoBufferSpace = &Error + var ErrNoLinkAddress = &Error + var ErrNoPortAvailable = &Error + var ErrNoRoute = &Error + var ErrNoSuchFile = &Error + var ErrNotConnected = &Error + var ErrNotSupported = &Error + var ErrPortInUse = &Error + var ErrQueueSizeNotSupported = &Error + var ErrTimeout = &Error + var ErrUnknownNICID = &Error + var ErrUnknownProtocol = &Error + var ErrUnknownProtocolOption = &Error + var ErrWouldBlock = &Error + func AddDanglingEndpoint(e Endpoint) + func DeleteDanglingEndpoint(e Endpoint) + type AddMembershipOption MembershipOption + type Address string + func (a Address) String() string + func (a Address) To4() Address + type AddressMask string + func (a AddressMask) String() string + type Clock interface + NowMonotonic func() int64 + NowNanoseconds func() int64 + type ControlMessages struct + HasTimestamp bool + Timestamp int64 + type Endpoint interface + Accept func() (Endpoint, *waiter.Queue, *Error) + Bind func(address FullAddress, commit func() *Error) *Error + Close func() + Connect func(address FullAddress) *Error + GetLocalAddress func() (FullAddress, *Error) + GetRemoteAddress func() (FullAddress, *Error) + GetSockOpt func(opt interface{}) *Error + Listen func(backlog int) *Error + Peek func([][]byte) (uintptr, ControlMessages, *Error) + Read func(*FullAddress) (buffer.View, ControlMessages, *Error) + Readiness func(mask waiter.EventMask) waiter.EventMask + SetSockOpt func(opt interface{}) *Error + Shutdown func(flags ShutdownFlags) *Error + Write func(Payload, WriteOptions) (uintptr, <-chan struct{}, *Error) + func GetDanglingEndpoints() []Endpoint + type ErrSaveRejection struct + Err error + func (e ErrSaveRejection) Error() string + type Error struct + func (e *Error) IgnoreStats() bool + func (e *Error) String() string + type ErrorOption struct + type FullAddress struct + Addr Address + NIC NICID + Port uint16 + func (fa FullAddress) String() string + type IPStats struct + InvalidAddressesReceived *StatCounter + OutgoingPacketErrors *StatCounter + PacketsDelivered *StatCounter + PacketsReceived *StatCounter + PacketsSent *StatCounter + type KeepaliveCountOption int + type KeepaliveEnabledOption int + type KeepaliveIdleOption time.Duration + type KeepaliveIntervalOption time.Duration + type LinkAddress string + func ParseMACAddress(s string) (LinkAddress, error) + func (a LinkAddress) String() string + type LinkEndpointID uint64 + type MembershipOption struct + InterfaceAddr Address + MulticastAddr Address + NIC NICID + type MulticastTTLOption uint8 + type NICID int32 + type NetworkProtocolNumber uint32 + type NoDelayOption int + type PasscredOption int + type Payload interface + Get func(size int) ([]byte, *Error) + Size func() int + type ProtocolAddress struct + Address Address + Protocol NetworkProtocolNumber + type ReceiveBufferSizeOption int + type ReceiveQueueSizeOption int + type RemoveMembershipOption MembershipOption + type ReuseAddressOption int + type Route struct + Destination Address + Gateway Address + Mask AddressMask + NIC NICID + func (r *Route) Match(addr Address) bool + type SendBufferSizeOption int + type SendQueueSizeOption int + type ShutdownFlags int + const ShutdownRead + const ShutdownWrite + type SlicePayload []byte + func (s SlicePayload) Get(size int) ([]byte, *Error) + func (s SlicePayload) Size() int + type StatCounter struct + func (s *StatCounter) Increment() + func (s *StatCounter) IncrementBy(v uint64) + func (s *StatCounter) Value() uint64 + type Stats struct + DroppedPackets *StatCounter + IP IPStats + MalformedRcvdPackets *StatCounter + TCP TCPStats + UDP UDPStats + UnknownProtocolRcvdPackets *StatCounter + func (s Stats) FillIn() Stats + type StdClock struct + func (*StdClock) NowMonotonic() int64 + func (*StdClock) NowNanoseconds() int64 + type Subnet struct + func NewSubnet(a Address, m AddressMask) (Subnet, error) + func (s *Subnet) Bits() (ones int, zeros int) + func (s *Subnet) Contains(a Address) bool + func (s *Subnet) ID() Address + func (s *Subnet) Mask() AddressMask + func (s *Subnet) Prefix() int + type TCPInfoOption struct + RTT time.Duration + RTTVar time.Duration + type TCPStats struct + ActiveConnectionOpenings *StatCounter + FailedConnectionAttempts *StatCounter + InvalidSegmentsReceived *StatCounter + PassiveConnectionOpenings *StatCounter + ResetsReceived *StatCounter + ResetsSent *StatCounter + SegmentsSent *StatCounter + ValidSegmentsReceived *StatCounter + type TimestampOption int + type TransportProtocolNumber uint32 + type UDPStats struct + MalformedPacketsReceived *StatCounter + PacketsReceived *StatCounter + PacketsSent *StatCounter + ReceiveBufferErrors *StatCounter + UnknownPortErrors *StatCounter + type V6OnlyOption int + type WriteOptions struct + EndOfRecord bool + More bool + To *FullAddress