Lines Matching refs:req
64 static const struct dohrequest req[] = { variable
163 for(i = 0; i < sizeof(req) / sizeof(req[0]); i++) {
164 DOHcode rc = doh_req_encode(req[i].name, req[i].type,
166 if(rc != req[i].rc) {
168 req[i].rc, rc);
169 abort_if(rc != req[i].rc, "return code");
171 if(size != req[i].size) {
173 req[i].size, size);
175 abort_if(size != req[i].size, "size");
177 if(req[i].packet && memcmp(req[i].packet, buffer, size)) {
180 hexdump((unsigned char *)req[i].packet, size));
181 abort_if(req[i].packet && memcmp(req[i].packet, buffer, size),