Searched refs:cache_find_by_name (Results 1 – 4 of 4) sorted by relevance
/external/dnsmasq/src/ |
D | rfc1035.c | 779 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) && in check_for_local_domain() 1142 if ((crecp = cache_find_by_name(NULL, name, now, flag | F_CNAME))) { in answer_request() 1157 } while ((crecp = cache_find_by_name(crecp, name, now, flag | F_CNAME))); in answer_request() 1206 } while ((crecp = cache_find_by_name(crecp, name, now, flag | F_CNAME))); in answer_request() 1229 cache_find_by_name(NULL, name, now, F_HOSTS | F_DHCP)) { in answer_request() 1311 while ((crecp = cache_find_by_name(crecp, rec->target, now, F_IPV4 | F_IPV6))) { in answer_request()
|
D | dhcp.c | 614 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs() 616 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) { in dhcp_update_configs() 619 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs()
|
D | cache.c | 409 struct crec* cache_find_by_name(struct crec* crecp, char* name, time_t now, unsigned short prot) { in cache_find_by_name() function 527 struct crec* lookup = cache_find_by_name(NULL, cache->name.sname, 0, flags & (F_IPV4 | F_IPV6)); in add_hosts_entry() 860 while ((crec = cache_find_by_name(crec, host_name, 0, F_IPV4 | F_CNAME))) { in cache_add_dhcp_entry()
|
D | dnsmasq.h | 655 struct crec* cache_find_by_name(struct crec* crecp, char* name, time_t now, unsigned short prot);
|