HomeSort by relevance Sort by last modified time
    Searched refs:crecp (Results 1 - 3 of 3) sorted by null

  /external/dnsmasq/src/
cache.c 67 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->uid = uid++
272 struct crec *crecp, **up; local
    [all...]
rfc1035.c 943 struct crec *crecp; local
949 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) &&
950 (crecp->flags & (F_HOSTS | F_DHCP)))
1115 static unsigned long crec_ttl(struct crec *crecp, time_t now)
1120 if (crecp->flags & (F_IMMORTAL | F_DHCP))
1123 return crecp->ttd - now;
1140 struct crec *crecp; local
1270 else if ((crecp = cache_find_by_addr(NULL, &addr, now, is_arpa)))
1274 if (qtype == T_ANY && !(crecp->flags & (F_HOSTS | F_DHCP)))
1277 if (crecp->flags & F_NEG
    [all...]
dnsmasq.h 694 struct crec *cache_find_by_addr(struct crec *crecp,
697 struct crec *cache_find_by_name(struct crec *crecp,
707 char *cache_get_name(struct crec *crecp);

Completed in 38 milliseconds