HomeSort by relevance Sort by last modified time
    Searched defs:crecp (Results 1 - 2 of 2) 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...]

Completed in 31 milliseconds