Searched refs:udpTable (Results 1 – 2 of 2) sorted by relevance
/reactos/base/applications/network/netstat/ |
H A D | netstat.c | 464 PMIB_UDPTABLE_OWNER_PID udpTable; in ShowUdpTable() local 480 udpTable = (PMIB_UDPTABLE_OWNER_PID)HeapAlloc(GetProcessHeap(), 0, dwSize); in ShowUdpTable() 481 error = GetExtendedUdpTable(udpTable, &dwSize, TRUE, AF_INET, UDP_TABLE_OWNER_PID, 0); in ShowUdpTable() 486 HeapFree(GetProcessHeap(), 0, udpTable); in ShowUdpTable() 491 for (i = 0; i < udpTable->dwNumEntries; i++) in ShowUdpTable() 494 GetIpHostName(TRUE, udpTable->table[i].dwLocalAddr, HostIp, sizeof(HostIp)); in ShowUdpTable() 495 GetPortName(udpTable->table[i].dwLocalPort, "udp", HostPort, sizeof(HostPort)); in ShowUdpTable() 501 sprintf(PID, "%ld", udpTable->table[i].dwOwningPid); in ShowUdpTable() 511 HeapFree(GetProcessHeap(), 0, udpTable); in ShowUdpTable()
|
/reactos/dll/win32/inetmib1/ |
H A D | main.c | 1187 static PMIB_UDPTABLE udpTable; variable 1198 if (!GetUdpTable(table, &size, TRUE)) udpTable = table; in mib2UdpEntryInit() 1206 HeapFree(GetProcessHeap(), 0, udpTable); in mib2UdpEntryCleanup() 1247 if (!udpTable) in mib2UdpEntryQuery() 1254 5, bPduType, (struct GenericTable *)udpTable, in mib2UdpEntryQuery() 1263 &udpTable->table[tableIndex - 1], item, pVarBind); in mib2UdpEntryQuery() 1269 udpTable->table[tableIndex - 1].dwLocalAddr); in mib2UdpEntryQuery() 1273 oid.ids = &udpTable->table[tableIndex - 1].dwLocalPort; in mib2UdpEntryQuery()
|