Versions in this module Expand all Collapse all v0 v0.0.1 Jun 19, 2021 Changes in this version + const AF_INET — windows/amd64 + const AF_INET6 — windows/amd64 + const ERROR_INSUFFICIENT_BUFFER — windows/amd64 + const FWPM_FILTER_FLAG_BOOTTIME — windows/amd64 + const FWPM_FILTER_FLAG_CLEAR_ACTION_RIGHT — windows/amd64 + const FWPM_FILTER_FLAG_DISABLED — windows/amd64 + const FWPM_FILTER_FLAG_GAMEOS_ONLY — windows/amd64 + const FWPM_FILTER_FLAG_HAS_PROVIDER_CONTEXT — windows/amd64 + const FWPM_FILTER_FLAG_HAS_SECURITY_REALM_PROVIDER_CONTEXT — windows/amd64 + const FWPM_FILTER_FLAG_INDEXED — windows/amd64 + const FWPM_FILTER_FLAG_IPSEC_NO_ACQUIRE_INITIATE — windows/amd64 + const FWPM_FILTER_FLAG_NONE — windows/amd64 + const FWPM_FILTER_FLAG_PERMIT_IF_CALLOUT_UNREGISTERED — windows/amd64 + const FWPM_FILTER_FLAG_PERSISTENT — windows/amd64 + const FWPM_FILTER_FLAG_SILENT_MODE — windows/amd64 + const FWPM_FILTER_FLAG_SYSTEMOS_ONLY — windows/amd64 + const FWPM_SESSION_FLAG_DYNAMIC — windows/amd64 + const FWP_ACTION_BLOCK — windows/amd64 + const FWP_ACTION_FLAG_TERMINATING — windows/amd64 + const FWP_ACTION_PERMIT — windows/amd64 + const FWP_BITMAP_ARRAY64_TYPE — windows/amd64 + const FWP_BITMAP_INDEX_TYPE — windows/amd64 + const FWP_BYTE_ARRAY16_TYPE — windows/amd64 + const FWP_BYTE_ARRAY6_TYPE — windows/amd64 + const FWP_BYTE_BLOB_TYPE — windows/amd64 + const FWP_DATA_TYPE_MAX — windows/amd64 + const FWP_DOUBLE — windows/amd64 + const FWP_EMPTY — windows/amd64 + const FWP_FLOAT — windows/amd64 + const FWP_INT16 — windows/amd64 + const FWP_INT32 — windows/amd64 + const FWP_INT64 — windows/amd64 + const FWP_INT8 — windows/amd64 + const FWP_MATCH_EQUAL — windows/amd64 + const FWP_MATCH_EQUAL_CASE_INSENSITIVE — windows/amd64 + const FWP_MATCH_FLAGS_ALL_SET — windows/amd64 + const FWP_MATCH_FLAGS_ANY_SET — windows/amd64 + const FWP_MATCH_FLAGS_NONE_SET — windows/amd64 + const FWP_MATCH_GREATER — windows/amd64 + const FWP_MATCH_GREATER_OR_EQUAL — windows/amd64 + const FWP_MATCH_LESS — windows/amd64 + const FWP_MATCH_LESS_OR_EQUAL — windows/amd64 + const FWP_MATCH_NOT_EQUAL — windows/amd64 + const FWP_MATCH_NOT_PREFIX — windows/amd64 + const FWP_MATCH_PREFIX — windows/amd64 + const FWP_MATCH_RANGE — windows/amd64 + const FWP_MATCH_TYPE_MAX — windows/amd64 + const FWP_RANGE_TYPE — windows/amd64 + const FWP_SECURITY_DESCRIPTOR_TYPE — windows/amd64 + const FWP_SID — windows/amd64 + const FWP_SINGLE_DATA_TYPE_MAX — windows/amd64 + const FWP_TOKEN_ACCESS_INFORMATION_TYPE — windows/amd64 + const FWP_TOKEN_INFORMATION_TYPE — windows/amd64 + const FWP_UINT16 — windows/amd64 + const FWP_UINT32 — windows/amd64 + const FWP_UINT64 — windows/amd64 + const FWP_UINT8 — windows/amd64 + const FWP_UNICODE_STRING_TYPE — windows/amd64 + const FWP_V4_ADDR_MASK — windows/amd64 + const FWP_V6_ADDR_MASK — windows/amd64 + const IPPROTO_UDP — windows/amd64 + const InvalidHandle — 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 RPC_C_AUTHN_DEFAULT — 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 + var FWPM_CONDITION_ALE_APP_ID = windows.GUID — windows/amd64 + var FWPM_CONDITION_IP_PROTOCOL = windows.GUID — windows/amd64 + var FWPM_CONDITION_IP_REMOTE_PORT = windows.GUID — windows/amd64 + var FWPM_CONDITION_LOCAL_INTERFACE_INDEX = windows.GUID — windows/amd64 + var FWPM_LAYER_ALE_AUTH_CONNECT_V4 = windows.GUID — windows/amd64 + var FWPM_LAYER_ALE_AUTH_CONNECT_V6 = windows.GUID — windows/amd64 + func CreateIpForwardEntry(route *MIB_IPFORWARDROW) uint32 — windows/amd64 + func DeleteIpForwardEntry(route *MIB_IPFORWARDROW) uint32 — windows/amd64 + func FwpmEngineOpen0(serverName *uint16, authnService uint32, authIdentity *uintptr, ...) (err error) — windows/amd64 + func FwpmFilterAdd0(engineHandle uintptr, filter *FWPM_FILTER0, sd uintptr, id *uint64) (err error) — windows/amd64 + func FwpmFreeMemory0(p unsafe.Pointer) — windows/amd64 + func FwpmGetAppIdFromFileName0(fileName *uint16, appID unsafe.Pointer) (err error) — windows/amd64 + func FwpmSubLayerAdd0(engineHandle uintptr, subLayer *FWPM_SUBLAYER0, sd uintptr) (err error) — 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, moduleEntry *ModuleEntry32) (err error) — windows/amd64 + func NTOHS(port uint16) uint16 — windows/amd64 + func UTF16PtrToString(cstr *uint16) string — windows/amd64 + type BOOL int32 — windows/amd64 + type DWORD uint32 — windows/amd64 + type FWPM_ACTION0 struct — windows/amd64 + Type uint32 + Value windows.GUID + type FWPM_DISPLAY_DATA0 struct — windows/amd64 + Description *uint16 + Name *uint16 + func CreateDisplayData(name, description string) (*FWPM_DISPLAY_DATA0, error) + type FWPM_FILTER0 struct — windows/amd64 + Action FWPM_ACTION0 + Context windows.GUID + DisplayData FWPM_DISPLAY_DATA0 + EffectiveWeight FWP_VALUE0 + FilterCondition *FWPM_FILTER_CONDITION0 + FilterId uint64 + FilterKey windows.GUID + Flags uint32 + LayerKey windows.GUID + NumFilterConditions uint32 + Offset1 [4]byte + ProviderData FWP_BYTE_BLOB + ProviderKey *windows.GUID + Reserved *windows.GUID + SubLayerKey windows.GUID + Weight FWP_VALUE0 + type FWPM_FILTER_CONDITION0 struct — windows/amd64 + ConditionValue FWP_CONDITION_VALUE0 + FieldKey windows.GUID + MatchType uint32 + type FWPM_SESSION0 struct — windows/amd64 + DisplayData FWPM_DISPLAY_DATA0 + Flags uint32 + KernelMode int32 + ProcessId uint32 + SessionKey windows.GUID + Sid *windows.SID + TxnWaitTimeoutInMSec uint32 + Username *uint16 + type FWPM_SUBLAYER0 struct — windows/amd64 + DisplayData FWPM_DISPLAY_DATA0 + Flags uint32 + ProviderData FWP_BYTE_BLOB + ProviderKey *windows.GUID + SubLayerKey windows.GUID + Weight uint16 + type FWP_BYTE_BLOB struct — windows/amd64 + func GetCurrentProcessAppID() (*FWP_BYTE_BLOB, error) + type FWP_CONDITION_VALUE0 FWP_VALUE0 — windows/amd64 + type FWP_VALUE0 struct — windows/amd64 + Type uint32 + Value uintptr + type HANDLE uintptr — windows/amd64 + type HMODULE HANDLE — windows/amd64 + type Handle uintptr — 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 [1 << 30]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 [1 << 30]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 [1 << 30]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 [1 << 30]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 [1 << 30]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 [1 << 30]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 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