Home
last modified time | relevance | path

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

/glibc-2.36/resolv/
Dres_hconf.c410 int new_num_ifs = 0; in _res_hconf_reorder_addrs() local
434 ifaddrs[new_num_ifs].addrtype = AF_INET; in _res_hconf_reorder_addrs()
436 ifaddrs[new_num_ifs].u.ipv4.addr = ss.sin.sin_addr.s_addr; in _res_hconf_reorder_addrs()
442 ifaddrs[new_num_ifs].u.ipv4.mask = ss.sin.sin_addr.s_addr; in _res_hconf_reorder_addrs()
445 ++new_num_ifs; in _res_hconf_reorder_addrs()
448 ifaddrs = realloc (ifaddrs, new_num_ifs * sizeof (ifaddrs[0])); in _res_hconf_reorder_addrs()
463 atomic_store_release (&num_ifs, new_num_ifs); in _res_hconf_reorder_addrs()
465 num_ifs_local = new_num_ifs; in _res_hconf_reorder_addrs()