Searched refs:hostname_isequal (Results 1 – 9 of 9) sorted by relevance
/external/dnsmasq/src/ |
D | rfc1035.c | 171 if (hostname_isequal(lastchunk, "arpa") && hostname_isequal(penchunk, "in-addr")) { in in_arpa_name_2_addr() 194 else if (hostname_isequal(penchunk, "ip6") && in in_arpa_name_2_addr() 195 (hostname_isequal(lastchunk, "int") || hostname_isequal(lastchunk, "arpa"))) { in in_arpa_name_2_addr() 784 if (hostname_isequal(name, mx->name)) return 1; in check_for_local_domain() 787 if (hostname_isequal(name, txt->name)) return 1; in check_for_local_domain() 790 if (hostname_isequal(name, intr->name)) return 1; in check_for_local_domain() 793 if (hostname_isequal(name, ptr->name)) return 1; in check_for_local_domain() 1006 if (t->class == qclass && hostname_isequal(name, t->name)) { in answer_request() 1027 if (hostname_isequal(name, ptr->name)) break; in answer_request() 1052 if (hostname_isequal(name, ptr->name) && in answer_request() [all …]
|
D | lease.c | 380 if (lease->hostname && name && hostname_isequal(lease->hostname, name)) { in lease_set_hostname() 406 if (!new_fqdn || !lease_tmp->fqdn || !hostname_isequal(lease_tmp->fqdn, new_fqdn)) in lease_set_hostname() 410 !hostname_isequal(lease_tmp->hostname, new_name)) in lease_set_hostname()
|
D | cache.c | 233 hostname_isequal(cache_get_name(crecp), name)) { in cache_scan_free() 425 hostname_isequal(cache_get_name(crecp), name)) { in cache_find_by_name() 468 hostname_isequal(cache_get_name(ans), name)) in cache_find_by_name() 569 if (hostname_isequal(cache->name.sname, a->target) && in add_hosts_entry() 909 if (hostname_isequal(host_name, a->target)) { in cache_add_dhcp_entry()
|
D | forward.c | 140 if (namelen >= domainlen && hostname_isequal(matchstart, serv->domain) && in search_servers() 259 (type != SERV_HAS_DOMAIN || hostname_isequal(domain, start->domain)) && in forward_query() 708 (type == SERV_HAS_DOMAIN && !hostname_isequal(domain, last_server->domain))) in tcp_request()
|
D | dhcp.c | 547 if ((config->flags & CONFIG_NAME) && hostname_isequal(config->hostname, hostname) && in find_config() 655 if (!legal_hostname(hostname) || (d1 && (!d2 || !hostname_isequal(d1, d2)))) in host_from_dns()
|
D | util.c | 251 int hostname_isequal(char* a, char* b) { in hostname_isequal() function
|
D | dnsmasq.h | 693 int hostname_isequal(char* a, char* b);
|
D | option.c | 1018 if (hostname_isequal((char*) facilitynames[i].c_name, arg)) break; in one_opt() 2043 if (hostname_isequal(new->alias, arg)) problem = _("duplicate CNAME"); in one_opt() 2539 if (!mx->issrv && hostname_isequal(mx->name, buff)) break; in read_opts()
|
D | rfc2131.c | 506 if (fqdn_flags != 0 || !client_hostname || hostname_isequal(hostname, client_hostname)) in dhcp_reply() 1758 if (config_domain && (!domain || !hostname_isequal(domain, config_domain))) in do_options()
|