Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c4103 PMIB_IPADDRTABLE pIPAddrTable = NULL; in AddressToIndexAndMask() local
4118 err = GetIpAddrTable( pIPAddrTable, &dwSize, 0 ); in AddressToIndexAndMask()
4125 pIPAddrTable = (MIB_IPADDRTABLE *) realloc( pIPAddrTable, dwSize ); in AddressToIndexAndMask()
4126 require_action( pIPAddrTable, exit, err = WSAENOBUFS ); in AddressToIndexAndMask()
4132 for ( i = 0; i < pIPAddrTable->dwNumEntries; i++ ) in AddressToIndexAndMask()
4134 if ( ( ( struct sockaddr_in* ) addr )->sin_addr.s_addr == pIPAddrTable->table[i].dwAddr ) in AddressToIndexAndMask()
4136 *ifIndex = pIPAddrTable->table[i].dwIndex; in AddressToIndexAndMask()
4137 ( ( struct sockaddr_in*) mask )->sin_addr.s_addr = pIPAddrTable->table[i].dwMask; in AddressToIndexAndMask()
4145 if ( pIPAddrTable ) in AddressToIndexAndMask()
4147 free( pIPAddrTable ); in AddressToIndexAndMask()