Versions in this module Expand all Collapse all v1 v1.15.0 Jun 1, 2019 Changes in this version + const AF_INET — windows/amd64 + const AF_INET6 — windows/amd64 + const MAXLEN_IFDESCR — windows/amd64 + const MAXLEN_PHYSADDR — windows/amd64 + const MAX_ADAPTER_NAME — windows/amd64 + const MAX_INTERFACE_NAME_LEN — windows/amd64 + const MAX_MODULE_NAME32 — windows/amd64 + const MAX_PATH — windows/amd64 + const TH32CS_INHERIT — windows/amd64 + const TH32CS_SNAPALL — windows/amd64 + const TH32CS_SNAPHEAPLIST — windows/amd64 + const TH32CS_SNAPMODULE — windows/amd64 + const TH32CS_SNAPMODULE32 — windows/amd64 + const TH32CS_SNAPPROCESS — windows/amd64 + const TH32CS_SNAPTHREAD — windows/amd64 + func CloseHandle(object HANDLE) bool — windows/amd64 + func CreateIpForwardEntry(route *MIB_IPFORWARDROW) uint32 — windows/amd64 + func DeleteIpForwardEntry(route *MIB_IPFORWARDROW) uint32 — windows/amd64 + func GetBestRoute(destAddr, sourceAddr uint32, bestRoute *MIB_IPFORWARDROW) int — windows/amd64 + func GetExtendedTcpTable(tcpTable uintptr, size *uint32, order int32, af uint32, ...) int — windows/amd64 + func GetExtendedUdpTable(udpTable uintptr, size *uint32, order int32, af uint32, ...) int — windows/amd64 + func GetIfTable(table *MIB_IFTABLE, size *uint32, order int32) int — windows/amd64 + func GetInterfaceInfo(ifTable *IP_INTERFACE_INFO, outBufLen *uint32) int — windows/amd64 + func GetIpForwardTable(table *MIB_IPFORWARDTABLE, size *uint32, order int32) int — windows/amd64 + func GetTcpStatistics(statistics *MIB_TCPSTATS) int — windows/amd64 + func IPAddrATON(addr string) uint32 — windows/amd64 + func IPAddrNTOA(addr uint32) string — windows/amd64 + func Module32First(snapshot HANDLE, me *MODULEENTRY32) bool — windows/amd64 + func NTOHS(port uint16) uint16 — windows/amd64 + func Process32First(snapshot HANDLE, pe *PROCESSENTRY32) bool — windows/amd64 + func UTF16PtrToString(cstr *uint16) string — windows/amd64 + type BOOL int32 — windows/amd64 + type DWORD uint32 — windows/amd64 + type HANDLE uintptr — windows/amd64 + func CreateToolhelp32Snapshot(flags, processId uint32) HANDLE + type HMODULE HANDLE — windows/amd64 + type IP_ADAPTER_INDEX_MAP struct — windows/amd64 + Index uint32 + Name [MAX_ADAPTER_NAME]uint16 + type IP_INTERFACE_INFO struct — windows/amd64 + Adapter [1024]IP_ADAPTER_INDEX_MAP + NumAdapters int32 + type MIB_IFROW struct — windows/amd64 + AdminStatus uint32 + Descr [MAXLEN_IFDESCR]uint8 + DescrLen uint32 + InDiscards uint32 + InErrors uint32 + InNUcastPkts uint32 + InOctets uint32 + InUcastPkts uint32 + InUnknownProtos uint32 + Index uint32 + LastChange uint32 + Mtu uint32 + Name [MAX_INTERFACE_NAME_LEN]uint16 + OperStatus uint32 + OutDiscards uint32 + OutErrors uint32 + OutNUcastPkts uint32 + OutOctets uint32 + OutQLen uint32 + OutUcastPkts uint32 + PhysAddr [MAXLEN_PHYSADDR]uint8 + PhysAddrLen uint32 + Speed uint32 + Type uint32 + type MIB_IFTABLE struct — windows/amd64 + NumEntries uint32 + Table [1024]MIB_IFROW + type MIB_IPFORWARDROW struct — windows/amd64 + ForwardAge uint32 + ForwardDest uint32 + ForwardIfIndex uint32 + ForwardMask uint32 + ForwardMetric1 uint32 + ForwardMetric2 uint32 + ForwardMetric3 uint32 + ForwardMetric4 uint32 + ForwardMetric5 uint32 + ForwardNextHop uint32 + ForwardNextHopAS uint32 + ForwardPolicy uint32 + ForwardProto uint32 + ForwardType uint32 + type MIB_IPFORWARDTABLE struct — windows/amd64 + NumEntries DWORD + Table [1024]MIB_IPFORWARDROW + type MIB_TCPROW_OWNER_PID struct — windows/amd64 + LocalAddr DWORD + LocalPort DWORD + OwningPid DWORD + RemoteAddr DWORD + RemotePort DWORD + State DWORD + type MIB_TCPSTATS struct — windows/amd64 + ActiveOpens DWORD + AttemptFails DWORD + CurrEstab DWORD + EstabResets DWORD + InErrs DWORD + InSegs DWORD + MaxConn DWORD + NumConns DWORD + OutRsts DWORD + OutSegs DWORD + PassiveOpens DWORD + RetransSegs DWORD + RtoAlgorithm DWORD + RtoMax DWORD + RtoMin DWORD + type MIB_TCPTABLE_OWNER_PID struct — windows/amd64 + NumEntries DWORD + Table [1024]MIB_TCPROW_OWNER_PID + type MIB_UDP6ROW_OWNER_PID struct — windows/amd64 + LocalAddr [16]uint8 + LocalPort DWORD + LocalScopeId DWORD + OwningPid DWORD + type MIB_UDP6TABLE_OWNER_PID struct — windows/amd64 + NumEntries DWORD + Table [1024]MIB_UDP6ROW_OWNER_PID + type MIB_UDPROW_OWNER_PID struct — windows/amd64 + LocalAddr DWORD + LocalPort DWORD + OwningPid DWORD + type MIB_UDPTABLE_OWNER_PID struct — windows/amd64 + NumEntries DWORD + Table [1024]MIB_UDPROW_OWNER_PID + type MODULEENTRY32 struct — windows/amd64 + ExePath [MAX_PATH]uint16 + GlblcntUsage uint32 + HModule HMODULE + ModBaseAddr *uint8 + ModBaseSize uint32 + Module [MAX_MODULE_NAME32 + 1]uint16 + ModuleID uint32 + ProccntUsage uint32 + ProcessID uint32 + Size uint32 + type PDWORD uintptr — windows/amd64 + type PROCESSENTRY32 struct — windows/amd64 + DefaultHeapID ULONG_PTR + ExeFile [MAX_PATH]uint16 + Flags uint32 + ModuleID uint32 + ParentProcessID uint32 + PriClassBase int32 + ProcessID uint32 + Size uint32 + Threads uint32 + Usage uint32 + type TCP_TABLE_CLASS DWORD — windows/amd64 + const TCP_TABLE_BASIC_ALL + const TCP_TABLE_BASIC_CONNECTIONS + const TCP_TABLE_BASIC_LISTENER + const TCP_TABLE_OWNER_MODULE_ALL + const TCP_TABLE_OWNER_MODULE_CONNECTIONS + const TCP_TABLE_OWNER_MODULE_LISTENER + const TCP_TABLE_OWNER_PID_ALL + const TCP_TABLE_OWNER_PID_CONNECTIONS + const TCP_TABLE_OWNER_PID_LISTENER + type UDP_TABLE_CLASS DWORD — windows/amd64 + const UDP_TABLE_BASIC + const UDP_TABLE_OWNER_MODULE + const UDP_TABLE_OWNER_PID + type ULONG uint32 — windows/amd64 + type ULONG_PTR uintptr — windows/amd64