Lines Matching defs:REPORT_ERROR

19 #define REPORT_ERROR(msg, ...) \
34 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
43 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
49 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
58 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
65 REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
70 REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
75 REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
81 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
88 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
95 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
101 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
110 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
117 REPORT_ERROR("connect() succeeded unexpectedly\n");
121 REPORT_ERROR("connect() failed with unexpected error: %s\n", strerror(errno));
127 REPORT_ERROR("close() failed: %s\n", strerror(errno));
134 REPORT_ERROR("connect() succeeded unexpectedly\n");
138 REPORT_ERROR("connect() failed with unexpected error: %s\n", strerror(errno));
164 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
174 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
180 REPORT_ERROR("send() succeeded unexpectedly\n");
184 // REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
190 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
199 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
206 REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
211 REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
217 REPORT_ERROR("sendto() failed: %s\n", strerror(errno));
223 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
228 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
234 REPORT_ERROR("send() failed: %s\n", strerror(errno));
240 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
249 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
255 REPORT_ERROR("sendto() succeeded unexpectedly\n");
259 REPORT_ERROR("sendto() failed with unexpected error: %s\n", strerror(errno));
267 REPORT_ERROR("recv() failed: %s\n", strerror(errno));
271 REPORT_ERROR("recv() received unexpected data: %s\n", buf);
281 REPORT_ERROR("recv() failed: %s\n", strerror(errno));
285 REPORT_ERROR("recv() received unexpected data: %s\n", buf);
289 REPORT_ERROR("recv() received unexpected address: %s\n", addr3.sun_path);
295 REPORT_ERROR("send() failed: %s\n", strerror(errno));
301 REPORT_ERROR("send() failed: %s\n", strerror(errno));
308 REPORT_ERROR("recv() failed: %s\n", strerror(errno));
312 REPORT_ERROR("recv() received unexpected data: %s\n", buf);
320 REPORT_ERROR("recv() failed: %s\n", strerror(errno));
324 REPORT_ERROR("recv() received unexpected data: %s\n", buf);
331 REPORT_ERROR("send() succeeded unexpectedly\n");
335 REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
356 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
365 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
373 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
381 REPORT_ERROR("sendto() failed: %s\n", strerror(errno));
395 REPORT_ERROR("recvfrom() failed: %s\n", strerror(errno));
415 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
424 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
430 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
439 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
445 REPORT_ERROR("shutdown() failed: %s\n", strerror(errno));
451 REPORT_ERROR("send() succeeded unexpectedly\n");
455 REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
461 REPORT_ERROR("send() failed: %s\n", strerror(errno));
467 REPORT_ERROR("shutdown() failed: %s\n", strerror(errno));
473 REPORT_ERROR("send() succeeded unexpectedly\n");
477 REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
485 REPORT_ERROR("recv() failed: %s\n", strerror(errno));
489 REPORT_ERROR("recv() received unexpected data\n");
513 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
522 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
528 REPORT_ERROR("socket() failed: %s\n", strerror(errno));
537 REPORT_ERROR("bind() failed: %s\n", strerror(errno));
543 REPORT_ERROR("connect() failed: %s\n", strerror(errno));
549 REPORT_ERROR("shm_open() failed: %s\n", strerror(errno));
581 REPORT_ERROR("sendmsg() failed: %s\n", strerror(errno));
594 REPORT_ERROR("recvmsg() failed: %s\n", strerror(errno));
600 REPORT_ERROR("recvmsg() failed: no control message\n");
604 REPORT_ERROR("recvmsg() failed: unexpected level %d\n", cmsg->cmsg_level);
608 REPORT_ERROR("recvmsg() failed: unexpected type %d\n", cmsg->cmsg_type);
612 REPORT_ERROR("recvmsg() failed: unexpected length %ld\n", cmsg->cmsg_len);
619 REPORT_ERROR("recvmsg() failed: unexpected fd %d\n", fd1);
627 REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
634 REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
639 REPORT_ERROR("recvmsg() failed: unexpected device %ld\n", (long)statbuf1.st_dev);
643 REPORT_ERROR("recvmsg() failed: unexpected inode %ld\n", (long)statbuf1.st_ino);