Lines Matching defs:pIpTable
66 PMIB_IPFORWARDTABLE pIpTable;
71 pIpTable = (MIB_IPFORWARDTABLE *)RTMemAlloc(dwSize);
72 if (GetIpForwardTable(pIpTable, &dwSize, 0) == ERROR_INSUFFICIENT_BUFFER)
74 RTMemFree(pIpTable);
75 pIpTable = (MIB_IPFORWARDTABLE *)RTMemAlloc(dwSize);
76 if (!pIpTable)
79 dwRC = GetIpForwardTable(pIpTable, &dwSize, 0);
82 for (unsigned int i = 0; i < pIpTable->dwNumEntries; i++)
83 if (pIpTable->table[i].dwForwardDest == 0)
85 iIndex = pIpTable->table[i].dwForwardIfIndex;
89 RTMemFree(pIpTable);