Lines Matching refs:resp
91 static const struct dohresp resp[] = { variable
186 for(i = 0; i < sizeof(resp) / sizeof(resp[0]); i++) {
193 rc = doh_resp_decode((const unsigned char *)resp[i].packet, resp[i].size,
194 resp[i].type, &d);
195 if(rc != resp[i].rc) {
197 resp[i].rc, rc);
198 abort_if(rc != resp[i].rc, "return code");
206 if(resp[i].type == DNS_TYPE_A) {
236 if(resp[i].out && strcmp((char *)buffer, resp[i].out)) {
238 resp[i].out, buffer);
239 abort_if(resp[i].out && strcmp((char *)buffer, resp[i].out), "content");