Searched defs:crecp (Results 1 - 2 of 2) sorted by relevance

/external/dnsmasq/src/
H A Dcache.c67 static void cache_free(struct crec *crecp);
68 static void cache_unlink(struct crec *crecp);
69 static void cache_link(struct crec *crecp);
71 static void cache_hash(struct crec *crecp);
75 struct crec *crecp; local
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec));
87 for (i=0; i < daemon->cachesize; i++, crecp++)
89 cache_link(crecp);
90 crecp->flags = 0;
91 crecp
154 cache_hash(struct crec *crecp) argument
176 cache_free(struct crec *crecp) argument
200 cache_link(struct crec *crecp) argument
212 cache_unlink(struct crec *crecp) argument
225 cache_get_name(struct crec *crecp) argument
235 is_outdated_cname_pointer(struct crec *crecp) argument
246 is_expired(time_t now, struct crec *crecp) argument
272 struct crec *crecp, **up; local
495 cache_find_by_name(struct crec *crecp, char *name, time_t now, unsigned short prot) argument
579 cache_find_by_addr(struct crec *crecp, struct all_addr *addr, time_t now, unsigned short prot) argument
[all...]
H A Drfc1035.c945 struct crec *crecp; local
951 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) &&
952 (crecp->flags & (F_HOSTS | F_DHCP)))
1117 static unsigned long crec_ttl(struct crec *crecp, time_t now) argument
1122 if (crecp->flags & (F_IMMORTAL | F_DHCP))
1125 return crecp->ttd - now;
1142 struct crec *crecp; local
1275 else if ((crecp = cache_find_by_addr(NULL, &addr, now, is_arpa)))
1279 if (qtype == T_ANY && !(crecp->flags & (F_HOSTS | F_DHCP)))
1282 if (crecp
[all...]

Completed in 63 milliseconds