Lines Matching refs:address
154 … r = dns_resource_record_new_address(&rr, addresses[j].family, &addresses[j].address, name); in answer_add_addresses_rr()
188 if (match && !in_addr_equal(af, match, &addresses[j].address)) in answer_add_addresses_ptr()
196 … r = dns_resource_record_new_reverse(&rr, addresses[j].family, &addresses[j].address, name); in answer_add_addresses_ptr()
234 .address.in.s_addr = htobe32(0x7F000002), in synthesize_system_hostname_rr()
241 .address.in6 = in6addr_loopback, in synthesize_system_hostname_rr()
253 static int synthesize_system_hostname_ptr(Manager *m, int af, const union in_addr_union *address, i… in synthesize_system_hostname_ptr() argument
259 assert(address); in synthesize_system_hostname_ptr()
262 if (af == AF_INET && address->in.s_addr == htobe32(0x7F000002)) { in synthesize_system_hostname_ptr()
293 r = answer_add_addresses_ptr(answer, m->full_hostname, addresses, n, af, address); in synthesize_system_hostname_ptr()
299 r = answer_add_addresses_ptr(answer, m->llmnr_hostname, addresses, n, af, address); in synthesize_system_hostname_ptr()
305 r = answer_add_addresses_ptr(answer, m->mdns_hostname, addresses, n, af, address); in synthesize_system_hostname_ptr()
358 static int synthesize_gateway_ptr(Manager *m, int af, const union in_addr_union *address, int ifind… in synthesize_gateway_ptr() argument
363 assert(address); in synthesize_gateway_ptr()
370 return answer_add_addresses_ptr(answer, "_gateway", addresses, n, af, address); in synthesize_gateway_ptr()
388 union in_addr_union address; in dns_synthesize_answer() local
444 } else if (dns_name_address(name, &af, &address) > 0) { in dns_synthesize_answer()
447 v = synthesize_system_hostname_ptr(m, af, &address, ifindex, &answer); in dns_synthesize_answer()
451 w = synthesize_gateway_ptr(m, af, &address, ifindex, &answer); in dns_synthesize_answer()