Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Drfc1035.c171 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 …]
Dlease.c380 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()
Dcache.c233 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()
Dforward.c140 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()
Ddhcp.c547 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()
Dutil.c251 int hostname_isequal(char* a, char* b) { in hostname_isequal() function
Ddnsmasq.h693 int hostname_isequal(char* a, char* b);
Doption.c1018 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()
Drfc2131.c506 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()