Lines Matching refs:errno
46 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
56 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
73 error(1, errno, "failed to create receive socket"); in build_rcv_fd()
78 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
81 error(1, errno, "failed to bind receive socket"); in build_rcv_fd()
84 error(1, errno, "tcp: failed to listen on receive port"); in build_rcv_fd()
89 error(1, errno, "failed to setsockopt"); in build_rcv_fd()
92 error(1, errno, "dccp: failed to listen on receive port"); in build_rcv_fd()
114 error(1, errno, "inet_pton failed: %s", IP4_ADDR); in connect_and_send()
127 error(1, errno, "inet_pton failed: %s", IP6_ADDR); in connect_and_send()
145 error(1, errno, "failed to create send socket"); in connect_and_send()
150 error(1, errno, "failed to setsockopt"); in connect_and_send()
153 error(1, errno, "failed to bind send socket"); in connect_and_send()
156 error(1, errno, "failed to connect send socket"); in connect_and_send()
159 error(1, errno, "failed to send message"); in connect_and_send()
172 error(1, errno, "epoll_wait failed"); in receive_once()
177 error(1, errno, "failed to accept"); in receive_once()
185 error(1, errno, "failed to recv"); in receive_once()
197 error(1, errno, "failed to create epoll"); in test()
203 error(1, errno, "failed to register sock epoll"); in test()
247 if (errno == ESOCKTNOSUPPORT) { in test_proto()
251 error(1, errno, "failed to create a DCCP socket"); in test_proto()