Lines Matching refs:tab
152 struct regress_dns_server_table *tab = data; in regress_dns_server_cb() local
161 while (tab->q && evutil_ascii_strcasecmp(question, tab->q) && in regress_dns_server_cb()
162 strcmp("*", tab->q)) in regress_dns_server_cb()
163 ++tab; in regress_dns_server_cb()
164 if (tab->q == NULL) in regress_dns_server_cb()
167 ++tab->seen; in regress_dns_server_cb()
169 if (tab->lower) in regress_dns_server_cb()
172 if (!strcmp(tab->anstype, "err")) { in regress_dns_server_cb()
173 int err = atoi(tab->ans); in regress_dns_server_cb()
176 } else if (!strcmp(tab->anstype, "errsoa")) { in regress_dns_server_cb()
177 int err = atoi(tab->ans); in regress_dns_server_cb()
193 } else if (!strcmp(tab->anstype, "A")) { in regress_dns_server_cb()
195 if (!evutil_inet_pton(AF_INET, tab->ans, &in)) { in regress_dns_server_cb()
196 TT_DIE(("Bad A value %s in table", tab->ans)); in regress_dns_server_cb()
200 } else if (!strcmp(tab->anstype, "AAAA")) { in regress_dns_server_cb()
202 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) { in regress_dns_server_cb()
203 TT_DIE(("Bad AAAA value %s in table", tab->ans)); in regress_dns_server_cb()
208 TT_DIE(("Weird table entry with type '%s'", tab->anstype)); in regress_dns_server_cb()