Lines Matching refs:addresses
38 _cleanup_free_ struct local_address *addresses = NULL; in _nss_myhostname_gethostbyname4_r() local
63 n_addresses = local_gateways(NULL, 0, AF_UNSPEC, &addresses); in _nss_myhostname_gethostbyname4_r()
71 n_addresses = local_outbounds(NULL, 0, AF_UNSPEC, &addresses); in _nss_myhostname_gethostbyname4_r()
90 n_addresses = local_addresses(NULL, 0, AF_UNSPEC, &addresses); in _nss_myhostname_gethostbyname4_r()
141 struct local_address *a = addresses + i - 1; in _nss_myhostname_gethostbyname4_r()
181 struct local_address *addresses, unsigned n_addresses, in fill_in_hostent() argument
205 for (a = addresses, n = 0, c = 0; n < n_addresses; a++, n++) in fill_in_hostent()
252 for (a = addresses, n = 0; n < n_addresses; a++, n++) { in fill_in_hostent()
323 _cleanup_free_ struct local_address *addresses = NULL; in _nss_myhostname_gethostbyname3_r() local
357 n_addresses = local_gateways(NULL, 0, af, &addresses); in _nss_myhostname_gethostbyname3_r()
365 n_addresses = local_outbounds(NULL, 0, af, &addresses); in _nss_myhostname_gethostbyname3_r()
383 n_addresses = local_addresses(NULL, 0, af, &addresses); in _nss_myhostname_gethostbyname3_r()
397 addresses, n_addresses, in _nss_myhostname_gethostbyname3_r()
420 _cleanup_free_ struct local_address *addresses = NULL; in _nss_myhostname_gethostbyaddr2_r() local
473 n_addresses = local_addresses(NULL, 0, af, &addresses); in _nss_myhostname_gethostbyaddr2_r()
474 for (a = addresses, n = 0; (int) n < n_addresses; n++, a++) in _nss_myhostname_gethostbyaddr2_r()
478 addresses = mfree(addresses); in _nss_myhostname_gethostbyaddr2_r()
480 n_addresses = local_gateways(NULL, 0, af, &addresses); in _nss_myhostname_gethostbyaddr2_r()
481 for (a = addresses, n = 0; (int) n < n_addresses; n++, a++) in _nss_myhostname_gethostbyaddr2_r()
511 addresses, n_addresses, in _nss_myhostname_gethostbyaddr2_r()