Lines Matching refs:buffer
159 unsigned char buffer[256]; variable
165 buffer, sizeof(buffer), &size);
174 fprintf(stderr, "DNS encode made: %s\n", hexdump(buffer, size));
177 if(req[i].packet && memcmp(req[i].packet, buffer, size)) {
178 fprintf(stderr, "DNS encode made: %s\n", hexdump(buffer, size));
181 abort_if(req[i].packet && memcmp(req[i].packet, buffer, size),
200 len = sizeof(buffer);
201 ptr = (char *)buffer;
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");
280 msnprintf((char *)buffer, sizeof(buffer),
282 if(rc || strcmp((char *)buffer, "127.0.0.1")) {
283 fprintf(stderr, "bad address decoded: %s, rc == %d\n", buffer, rc);
284 abort_if(rc || strcmp((char *)buffer, "127.0.0.1"), "bad address");