Searched refs:local_hostlist_entry (Results 1 – 2 of 2) sorted by relevance
188 static struct local_hostlist_entry *local_hostlist_dynamic;201 DNS_LOCAL_HOSTLIST_STORAGE_PRE struct local_hostlist_entry local_hostlist_static[]322 struct local_hostlist_entry *entry; in dns_init_local()324 struct local_hostlist_entry local_hostlist_init[] = DNS_LOCAL_HOSTLIST_INIT; in dns_init_local()326 for (i = 0; i < sizeof(local_hostlist_init) / sizeof(struct local_hostlist_entry); i++) { in dns_init_local()327 struct local_hostlist_entry *init_entry = &local_hostlist_init[i]; in dns_init_local()331 entry = (struct local_hostlist_entry *)memp_malloc(MEMP_LOCALHOSTLIST); in dns_init_local()334 entry->name = (char*)entry + sizeof(struct local_hostlist_entry); in dns_init_local()356 struct local_hostlist_entry *entry = local_hostlist_dynamic; in dns_lookup_local()365 for (i = 0; i < sizeof(local_hostlist_static) / sizeof(struct local_hostlist_entry); i++) { in dns_lookup_local()[all …]
82 struct local_hostlist_entry { struct87 struct local_hostlist_entry *next; argument93 #define LOCALHOSTLIST_ELEM_SIZE ((sizeof(struct local_hostlist_entry) + DNS_LOCAL_HOSTLIST_MAX_NAME…