Lines Matching defs:tab
141 struct regress_dns_server_table *tab = data;
150 while (tab->q && evutil_ascii_strcasecmp(question, tab->q) &&
151 strcmp("*", tab->q))
152 ++tab;
153 if (tab->q == NULL)
156 ++tab->seen;
158 if (!strcmp(tab->anstype, "err")) {
159 int err = atoi(tab->ans);
162 } else if (!strcmp(tab->anstype, "errsoa")) {
163 int err = atoi(tab->ans);
179 } else if (!strcmp(tab->anstype, "A")) {
181 if (!evutil_inet_pton(AF_INET, tab->ans, &in)) {
182 TT_DIE(("Bad A value %s in table", tab->ans));
186 } else if (!strcmp(tab->anstype, "AAAA")) {
188 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) {
189 TT_DIE(("Bad AAAA value %s in table", tab->ans));
194 TT_DIE(("Weird table entry with type '%s'", tab->anstype));