Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoopFilter ¶
func NoopFilter(*SockTableEntry) bool
Types ¶
type FilterFn ¶
type FilterFn func(*SockTableEntry) bool
type SockTableEntry ¶
type SockTableEntry struct {
Inode string
LocalAddr *SockAddr
RemoteAddr *SockAddr
State SockState
UID uint32
Process *Process
}
func TCPSocks ¶
func TCPSocks(fn FilterFn) ([]SockTableEntry, error)
func TCPSocks4 ¶
func TCPSocks4(fn FilterFn) ([]SockTableEntry, error)
func TCPSocks6 ¶
func TCPSocks6(fn FilterFn) ([]SockTableEntry, error)
Click to show internal directories.
Click to hide internal directories.