Documentation ¶
Rendered for windows/amd64
Index ¶
- func GetBestInterfaceEx(addr *windows.RawSockaddr) (int, error)
- func GetExtendedTcpTable(order uint32, ulAf uint32, tableClass uint32, buf []byte) ([]byte, error)
- func GetExtendedUdpTable(order uint32, ulAf uint32, tableClass uint32, buf []byte) ([]byte, error)
- func GetInterfaceIndex(s string) (int, error)
- func QueryFullProcessImageName(process windows.Handle, flags uint32, b []uint16) (string, error)
- func QueryNameByPID(id uint32, b []uint16) (string, error)
- type AppFilter
- type IPFilter
- type TCP6Row
- type TCP6Table
- type TCPRow
- type TCPTable
- type UDP6Row
- type UDP6Table
- type UDPRow
- type UDPTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBestInterfaceEx ¶
func GetBestInterfaceEx(addr *windows.RawSockaddr) (int, error)
GetBestInterfaceEx is ...
func GetExtendedTcpTable ¶
GetExtendedTcpTable is ...
func GetExtendedUdpTable ¶
GetExtendedUdpTable is ...
func QueryFullProcessImageName ¶
QueryFullProcessImageName is ...
Types ¶
type AppFilter ¶
type AppFilter struct { // RWMutex is ... sync.RWMutex // PIDs is ... PIDs map[uint32]struct{} // Apps is ... Apps map[string]struct{} // contains filtered or unexported fields }
AppFilter is ...
type IPFilter ¶
type IPFilter struct { // RWMutex is ... sync.RWMutex // Tree is ... Tree *iptree.Tree // Rules is ... Rules map[string]bool // Final is ... Final bool // contains filtered or unexported fields }
IPFilter is ...
func (*IPFilter) IgnorePrivate ¶
func (f *IPFilter) IgnorePrivate()
IgnorePrivate is ... ingore private address
type TCP6Row ¶
type TCP6Row struct { LocalAddr [4]uint32 LocalScopeId uint32 LocalPort uint32 RemoteAddr [4]uint32 RemoteScopeId uint32 RemotePort uint32 State uint32 OwningPid uint32 }
TCP6Row is ...
type TCPRow ¶
type TCPRow struct { State uint32 LocalAddr uint32 LocalPort uint32 RemoteAddr uint32 RemotePort uint32 OwningPid uint32 }
TCPRow is ...
Click to show internal directories.
Click to hide internal directories.