Home
last modified time | relevance | path

Searched refs:pIpForwardTable (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSWindows/SystemService/
DService.c2282 PMIB_IPFORWARDTABLE pIpForwardTable = NULL; in HaveRoute() local
2298 pIpForwardTable = (PMIB_IPFORWARDTABLE) malloc( dwSize ); in HaveRoute()
2299 require_action( pIpForwardTable, exit, err = kNoMemoryErr ); in HaveRoute()
2304 err = GetIpForwardTable(pIpForwardTable, &dwSize, bOrder); in HaveRoute()
2310 for ( i = 0; i < pIpForwardTable->dwNumEntries; i++) in HaveRoute()
2312 …if ( ( pIpForwardTable->table[i].dwForwardDest == addr ) && ( !metric || ( pIpForwardTable->table[… in HaveRoute()
2314 memcpy( rowExtant, &(pIpForwardTable->table[i]), sizeof(*rowExtant) ); in HaveRoute()
2322 if ( pIpForwardTable != NULL ) in HaveRoute()
2324 free(pIpForwardTable); in HaveRoute()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c4040 PMIB_IPFORWARDTABLE pIpForwardTable = NULL; in GetPrimaryInterface() local
4055 pIpForwardTable = (PMIB_IPFORWARDTABLE) malloc( dwSize ); in GetPrimaryInterface()
4056 require_action( pIpForwardTable, exit, err = kNoMemoryErr ); in GetPrimaryInterface()
4060 err = GetIpForwardTable(pIpForwardTable, &dwSize, bOrder); in GetPrimaryInterface()
4066 for ( i = 0; i < pIpForwardTable->dwNumEntries; i++) in GetPrimaryInterface()
4070 if ( pIpForwardTable->table[i].dwForwardDest == 0 ) in GetPrimaryInterface()
4072 if ( index && ( pIpForwardTable->table[i].dwForwardMetric1 >= metric ) ) in GetPrimaryInterface()
4077 index = pIpForwardTable->table[i].dwForwardIfIndex; in GetPrimaryInterface()
4078 metric = pIpForwardTable->table[i].dwForwardMetric1; in GetPrimaryInterface()
4084 if ( pIpForwardTable != NULL ) in GetPrimaryInterface()
[all …]