HomeSort by relevance Sort by last modified time
    Searched full: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 948 struct crec *crecp; local
954 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) &&
955 (crecp->flags & (F_HOSTS | F_DHCP)))
1120 static unsigned long crec_ttl(struct crec *crecp, time_t now)
1125 if (crecp->flags & (F_IMMORTAL | F_DHCP))
1128 return crecp->ttd - now;
1145 struct crec *crecp; local
1278 else if ((crecp = cache_find_by_addr(NULL, &addr, now, is_arpa)))
1282 if (qtype == T_ANY && !(crecp->flags & (F_HOSTS | F_DHCP)))
1285 if (crecp->flags & F_NEG
    [all...]
dnsmasq.h 654 struct crec *cache_find_by_addr(struct crec *crecp,
657 struct crec *cache_find_by_name(struct crec *crecp,
667 char *cache_get_name(struct crec *crecp);

Completed in 102 milliseconds