Lines Matching defs:qstr
1251 char* qstr, *pstr, *s, *qcmpstr, *pcmpstr;
1264 qstr = sldns_wire2str_pkt(qb, qlen);
1266 if(!qstr || !pstr) error("cannot pkt2string");
1269 s = strstr(qstr, ";; QUESTION SECTION");
1274 free(qstr);
1281 free(qstr);
1307 free(qstr);
1318 char* qstr, *pstr, *s, *qcmpstr, *pcmpstr;
1331 qstr = sldns_wire2str_pkt(qb, qlen);
1333 if(!qstr || !pstr) error("cannot pkt2string");
1336 s = strstr(qstr, ";; ANSWER SECTION");
1341 free(qstr);
1348 free(qstr);
1372 free(qstr);
1402 char* qstr, *pstr;
1415 qstr = sldns_wire2str_pkt(qb, qlen);
1417 if(!qstr || !pstr) error("cannot pkt2string");
1420 ignore_edns_lines(qstr);
1423 r = (strcmp(qstr, pstr) == 0);
1426 char* s = strstr(qstr, ";; MSG SIZE");
1430 r = (strcmp(qstr, pstr) == 0);
1433 char* a = strstr(qstr, "; EDNS");
1442 r = match_noloc(qstr, pstr, q, qlen, p, plen);
1445 verbose(3, "mismatch pkt '%s' and '%s'", qstr, pstr);
1447 free(qstr);