Versions in this module Expand all Collapse all v0 v0.1.2 Apr 8, 2023 v0.1.1 Mar 28, 2023 v0.1.0 Mar 27, 2023 Changes in this version + var TimerActives = [...]string — linux/amd64 + func NoopFilter(*SockTabEntry) bool + type AcceptFn func(*SockTabEntry) bool + type EnableFeatures struct + AllNetNs bool + NetNsName []string + NetNsPids []uint32 + NoHostNetwork bool + PID bool + Raw bool + Raw6 bool + TCP bool + TCP6 bool + UDP bool + UDP6 bool + UDPLite bool + UDPLite6 bool + type SkState uint8 + const Close + const CloseWait + const Closing + const Established + const FinWait1 + const FinWait2 + const LastAck + const Listen + const SynRecv + const SynSent + const TimeWait + func (s SkState) String() string + type SockEndpoint struct + IP net.IP + Port uint16 + func (s *SockEndpoint) String() string + type SockTabEntry struct + Inode uint64 + LocalEndpoint *SockEndpoint + NetNS string + Pointer uint64 + Process *common.Process + Ref uint64 + RemoteEndpoint *SockEndpoint + Retrnsmt uint64 + RxQueue uint64 + State SkState + Timeout uint64 + TimerWhen uint64 + Tr TimerActive + Transport string + TxQueue uint64 + UID uint32 + func Netstat(ctx context.Context, feature EnableFeatures, fn AcceptFn) ([]SockTabEntry, error) + type TimerActive uint8 + const KeepAlive + const Off + const On + const ProbeTimer + const TimeWaitTimer + func (t TimerActive) String() string