Lines Matching refs:addr_table
621 MIB_IPADDRTABLE *addr_table; in php_if_index_to_addr4() local
633 size = 4 * (sizeof *addr_table); in php_if_index_to_addr4()
634 addr_table = emalloc(size); in php_if_index_to_addr4()
636 retval = GetIpAddrTable(addr_table, &size, 0); in php_if_index_to_addr4()
638 efree(addr_table); in php_if_index_to_addr4()
639 addr_table = emalloc(size); in php_if_index_to_addr4()
643 efree(addr_table); in php_if_index_to_addr4()
648 for (i = 0; i < addr_table->dwNumEntries; i++) { in php_if_index_to_addr4()
649 MIB_IPADDRROW r = addr_table->table[i]; in php_if_index_to_addr4()
652 efree(addr_table); in php_if_index_to_addr4()
656 efree(addr_table); in php_if_index_to_addr4()
664 MIB_IPADDRTABLE *addr_table; in php_add4_to_if_index() local
676 size = 4 * (sizeof *addr_table); in php_add4_to_if_index()
677 addr_table = emalloc(size); in php_add4_to_if_index()
679 retval = GetIpAddrTable(addr_table, &size, 0); in php_add4_to_if_index()
681 efree(addr_table); in php_add4_to_if_index()
682 addr_table = emalloc(size); in php_add4_to_if_index()
686 efree(addr_table); in php_add4_to_if_index()
691 for (i = 0; i < addr_table->dwNumEntries; i++) { in php_add4_to_if_index()
692 MIB_IPADDRROW r = addr_table->table[i]; in php_add4_to_if_index()
695 efree(addr_table); in php_add4_to_if_index()
699 efree(addr_table); in php_add4_to_if_index()