Lines Matching defs:tab
142 struct regress_dns_server_table *tab = data;
151 while (tab->q && evutil_ascii_strcasecmp(question, tab->q) &&
152 strcmp("*", tab->q))
153 ++tab;
154 if (tab->q == NULL)
157 ++tab->seen;
159 if (!strcmp(tab->anstype, "err")) {
160 int err = atoi(tab->ans);
163 } else if (!strcmp(tab->anstype, "errsoa")) {
164 int err = atoi(tab->ans);
180 } else if (!strcmp(tab->anstype, "A")) {
182 if (!evutil_inet_pton(AF_INET, tab->ans, &in)) {
183 TT_DIE(("Bad A value %s in table", tab->ans));
187 } else if (!strcmp(tab->anstype, "AAAA")) {
189 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) {
190 TT_DIE(("Bad AAAA value %s in table", tab->ans));
195 TT_DIE(("Weird table entry with type '%s'", tab->anstype));