Lines Matching refs:qstr
1252 char* qstr, *pstr, *s, *qcmpstr, *pcmpstr; in match_question() local
1265 qstr = sldns_wire2str_pkt(qb, qlen); in match_question()
1267 if(!qstr || !pstr) error("cannot pkt2string"); in match_question()
1270 s = strstr(qstr, ";; QUESTION SECTION"); in match_question()
1275 free(qstr); in match_question()
1282 free(qstr); in match_question()
1308 free(qstr); in match_question()
1319 char* qstr, *pstr, *s, *qcmpstr, *pcmpstr; in match_answer() local
1332 qstr = sldns_wire2str_pkt(qb, qlen); in match_answer()
1334 if(!qstr || !pstr) error("cannot pkt2string"); in match_answer()
1337 s = strstr(qstr, ";; ANSWER SECTION"); in match_answer()
1342 free(qstr); in match_answer()
1349 free(qstr); in match_answer()
1373 free(qstr); in match_answer()
1403 char* qstr, *pstr; in match_all() local
1416 qstr = sldns_wire2str_pkt(qb, qlen); in match_all()
1418 if(!qstr || !pstr) error("cannot pkt2string"); in match_all()
1421 ignore_edns_lines(qstr); in match_all()
1424 r = (strcmp(qstr, pstr) == 0); in match_all()
1427 char* s = strstr(qstr, ";; MSG SIZE"); in match_all()
1431 r = (strcmp(qstr, pstr) == 0); in match_all()
1434 char* a = strstr(qstr, "; EDNS"); in match_all()
1443 r = match_noloc(qstr, pstr, q, qlen, p, plen); in match_all()
1446 verbose(3, "mismatch pkt '%s' and '%s'", qstr, pstr); in match_all()
1448 free(qstr); in match_all()