Searched defs:crec (Results 1 - 3 of 3) sorted by relevance

/external/dnsmasq/src/
H A Ddhcp.c922 struct crec *crec; local
933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) &&
934 (crec->flags & F_HOSTS))
936 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4))
939 while (crec && !(crec->flags & F_REVERSE))
940 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4);
941 if (!crec)
[all...]
H A Dcache.c19 static struct crec *cache_head = NULL, *cache_tail = NULL, **hash_table = NULL;
21 static struct crec *dhcp_spare = NULL;
23 static struct crec *new_chain = NULL;
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;
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec));
105 struct crec **ne
1038 struct crec *crec = NULL, *aliasc; local
[all...]
H A Ddnsmasq.h260 struct crec { struct
261 struct crec *next, *prev, *hash_next;
267 struct crec *cache;
696 struct crec *cache_find_by_addr(struct crec *crecp,
699 struct crec *cache_find_by_name(struct crec *crecp,
703 struct crec *cache_insert(char *name, struct all_addr *addr,
709 char *cache_get_name(struct crec *crecp);

Completed in 148 milliseconds