Versions in this module Expand all Collapse all v0 v0.0.1 Jun 16, 2020 Changes in this version + var AsyncLoading sync.WaitGroup + var ErrAborted = &Error + var ErrAddressFamilyNotSupported = &Error + var ErrAlreadyBound = &Error + var ErrAlreadyConnected = &Error + var ErrAlreadyConnecting = &Error + var ErrBadAddress = &Error + var ErrBadLinkEndpoint = &Error + var ErrBadLocalAddress = &Error + var ErrBroadcastDisabled = &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 ErrNotPermitted = &Error + var ErrNotSupported = &Error + var ErrPortInUse = &Error + var ErrQueueSizeNotSupported = &Error + var ErrTimeout = &Error + var ErrUnknownDevice = &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 (m AddressMask) Prefix() int + func (m AddressMask) String() string + type AddressWithPrefix struct + Address Address + PrefixLen int + func (a AddressWithPrefix) String() string + func (a AddressWithPrefix) Subnet() Subnet + type AvailableCongestionControlOption string + type BindToDeviceOption string + type BroadcastOption int + type Clock interface + NowMonotonic func() int64 + NowNanoseconds func() int64 + type CongestionControlOption string + type ControlMessages struct + HasInq bool + HasTimestamp bool + Inq int32 + Timestamp int64 + type CorkOption int + type DefaultTTLOption uint8 + type Endpoint interface + Accept func() (Endpoint, *waiter.Queue, *Error) + Bind func(address FullAddress) *Error + Close func() + Connect func(address FullAddress) *Error + Disconnect func() *Error + GetLocalAddress func() (FullAddress, *Error) + GetRemoteAddress func() (FullAddress, *Error) + GetSockOpt func(opt interface{}) *Error + GetSockOptInt func(SockOpt) (int, *Error) + IPTables func() (iptables.IPTables, error) + Info func() EndpointInfo + Listen func(backlog int) *Error + ModerateRecvBuf func(copied int) + Peek func([][]byte) (int64, ControlMessages, *Error) + Read func(*FullAddress) (buffer.View, ControlMessages, *Error) + Readiness func(mask waiter.EventMask) waiter.EventMask + SetSockOpt func(opt interface{}) *Error + SetSockOptInt func(opt SockOpt, v int) *Error + Shutdown func(flags ShutdownFlags) *Error + State func() uint32 + Stats func() EndpointStats + Write func(Payloader, WriteOptions) (int64, <-chan struct{}, *Error) + func GetDanglingEndpoints() []Endpoint + type EndpointInfo interface + IsEndpointInfo func() + type EndpointStats interface + IsEndpointStats func() + 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 + type ICMPStats struct + V4PacketsReceived ICMPv4ReceivedPacketStats + V4PacketsSent ICMPv4SentPacketStats + V6PacketsReceived ICMPv6ReceivedPacketStats + V6PacketsSent ICMPv6SentPacketStats + type ICMPv4PacketStats struct + DstUnreachable *StatCounter + Echo *StatCounter + EchoReply *StatCounter + InfoReply *StatCounter + InfoRequest *StatCounter + ParamProblem *StatCounter + Redirect *StatCounter + SrcQuench *StatCounter + TimeExceeded *StatCounter + Timestamp *StatCounter + TimestampReply *StatCounter + type ICMPv4ReceivedPacketStats struct + Invalid *StatCounter + type ICMPv4SentPacketStats struct + Dropped *StatCounter + RateLimited *StatCounter + type ICMPv6PacketStats struct + DstUnreachable *StatCounter + EchoReply *StatCounter + EchoRequest *StatCounter + NeighborAdvert *StatCounter + NeighborSolicit *StatCounter + PacketTooBig *StatCounter + ParamProblem *StatCounter + RedirectMsg *StatCounter + RouterAdvert *StatCounter + RouterSolicit *StatCounter + TimeExceeded *StatCounter + type ICMPv6ReceivedPacketStats struct + Invalid *StatCounter + type ICMPv6SentPacketStats struct + Dropped *StatCounter + RateLimited *StatCounter + type IPStats struct + InvalidAddressesReceived *StatCounter + MalformedFragmentsReceived *StatCounter + MalformedPacketsReceived *StatCounter + OutgoingPacketErrors *StatCounter + PacketsDelivered *StatCounter + PacketsReceived *StatCounter + PacketsSent *StatCounter + type IPv4TOSOption uint8 + type IPv6TrafficClassOption uint8 + 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 MaxSegOption int + type MembershipOption struct + InterfaceAddr Address + MulticastAddr Address + NIC NICID + type ModerateReceiveBufferOption bool + type MulticastInterfaceOption struct + InterfaceAddr Address + NIC NICID + type MulticastLoopOption bool + type MulticastTTLOption uint8 + type NICID int32 + type NetworkProtocolNumber uint32 + type OutOfBandInlineOption int + type PacketBuffer struct + Data buffer.VectorisedView + Header buffer.Prependable + LinkHeader buffer.View + NetworkHeader buffer.View + TransportHeader buffer.View + func (pk PacketBuffer) Clone() PacketBuffer + type PasscredOption int + type Payloader interface + FullPayload func() ([]byte, *Error) + Payload func(size int) ([]byte, *Error) + type ProtocolAddress struct + AddressWithPrefix AddressWithPrefix + Protocol NetworkProtocolNumber + type QuickAckOption int + type ReadErrors struct + InvalidEndpointState StatCounter + ReadClosed StatCounter + type ReceiveErrors struct + ClosedReceiver StatCounter + MalformedPacketsReceived StatCounter + ReceiveBufferOverflow StatCounter + type RemoveMembershipOption MembershipOption + type ReuseAddressOption int + type ReusePortOption int + type Route struct + Destination Subnet + Gateway Address + NIC NICID + func (r Route) String() string + type SendErrors struct + NoLinkAddr StatCounter + NoRoute StatCounter + SendToNetworkFailed StatCounter + type ShutdownFlags int + const ShutdownRead + const ShutdownWrite + type SlicePayload []byte + func (s SlicePayload) FullPayload() ([]byte, *Error) + func (s SlicePayload) Payload(size int) ([]byte, *Error) + type SockOpt int + const DelayOption + const ReceiveBufferSizeOption + const ReceiveQueueSizeOption + const SendBufferSizeOption + const SendQueueSizeOption + type StatCounter struct + func (s *StatCounter) Decrement() + func (s *StatCounter) Increment() + func (s *StatCounter) IncrementBy(v uint64) + func (s *StatCounter) String() string + func (s *StatCounter) Value() uint64 + type Stats struct + DroppedPackets *StatCounter + ICMP ICMPStats + IP IPStats + MalformedRcvdPackets *StatCounter + TCP TCPStats + UDP UDPStats + UnknownProtocolRcvdPackets *StatCounter + func (s Stats) FillIn() Stats + type Subnet struct + func NewSubnet(a Address, m AddressMask) (Subnet, error) + func (s *Subnet) Bits() (ones int, zeros int) + func (s *Subnet) Broadcast() Address + func (s *Subnet) Contains(a Address) bool + func (s *Subnet) ID() Address + func (s *Subnet) Mask() AddressMask + func (s *Subnet) Prefix() int + func (s Subnet) Equal(o Subnet) bool + func (s Subnet) String() string + type TCPInfoOption struct + RTT time.Duration + RTTVar time.Duration + type TCPLingerTimeoutOption time.Duration + type TCPStats struct + ActiveConnectionOpenings *StatCounter + ChecksumErrors *StatCounter + CurrentEstablished *StatCounter + EstablishedResets *StatCounter + FailedConnectionAttempts *StatCounter + FastRecovery *StatCounter + FastRetransmit *StatCounter + InvalidSegmentsReceived *StatCounter + ListenOverflowAckDrop *StatCounter + ListenOverflowInvalidSynCookieRcvd *StatCounter + ListenOverflowSynCookieRcvd *StatCounter + ListenOverflowSynCookieSent *StatCounter + ListenOverflowSynDrop *StatCounter + PassiveConnectionOpenings *StatCounter + ResetsReceived *StatCounter + ResetsSent *StatCounter + Retransmits *StatCounter + SACKRecovery *StatCounter + SegmentSendErrors *StatCounter + SegmentsSent *StatCounter + SlowStartRetransmits *StatCounter + Timeouts *StatCounter + ValidSegmentsReceived *StatCounter + type TCPTimeWaitTimeoutOption time.Duration + type TTLOption uint8 + type TransportEndpointStats struct + PacketsReceived StatCounter + PacketsSent StatCounter + ReadErrors ReadErrors + ReceiveErrors ReceiveErrors + SendErrors SendErrors + WriteErrors WriteErrors + func (*TransportEndpointStats) IsEndpointStats() + func (src *TransportEndpointStats) Clone() TransportEndpointStats + type TransportProtocolNumber uint32 + type UDPStats struct + MalformedPacketsReceived *StatCounter + PacketSendErrors *StatCounter + PacketsReceived *StatCounter + PacketsSent *StatCounter + ReceiveBufferErrors *StatCounter + UnknownPortErrors *StatCounter + type V6OnlyOption int + type WriteErrors struct + InvalidArgs StatCounter + InvalidEndpointState StatCounter + WriteClosed StatCounter + type WriteOptions struct + Atomic bool + EndOfRecord bool + More bool + To *FullAddress