Lines Matching refs:addr_table
627 MIB_IPADDRTABLE *addr_table; in php_if_index_to_addr4() local
639 size = 4 * (sizeof *addr_table); in php_if_index_to_addr4()
640 addr_table = emalloc(size); in php_if_index_to_addr4()
642 retval = GetIpAddrTable(addr_table, &size, 0); in php_if_index_to_addr4()
644 efree(addr_table); in php_if_index_to_addr4()
645 addr_table = emalloc(size); in php_if_index_to_addr4()
649 efree(addr_table); in php_if_index_to_addr4()
654 for (i = 0; i < addr_table->dwNumEntries; i++) { in php_if_index_to_addr4()
655 MIB_IPADDRROW r = addr_table->table[i]; in php_if_index_to_addr4()
658 efree(addr_table); in php_if_index_to_addr4()
662 efree(addr_table); in php_if_index_to_addr4()
670 MIB_IPADDRTABLE *addr_table; in php_add4_to_if_index() local
682 size = 4 * (sizeof *addr_table); in php_add4_to_if_index()
683 addr_table = emalloc(size); in php_add4_to_if_index()
685 retval = GetIpAddrTable(addr_table, &size, 0); in php_add4_to_if_index()
687 efree(addr_table); in php_add4_to_if_index()
688 addr_table = emalloc(size); in php_add4_to_if_index()
692 efree(addr_table); in php_add4_to_if_index()
697 for (i = 0; i < addr_table->dwNumEntries; i++) { in php_add4_to_if_index()
698 MIB_IPADDRROW r = addr_table->table[i]; in php_add4_to_if_index()
701 efree(addr_table); in php_add4_to_if_index()
705 efree(addr_table); in php_add4_to_if_index()