Lines Matching refs:error
45 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
55 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
61 error(1, 0, "Unsupported family %d", family); in build_rcv_fd()
72 error(1, errno, "failed to create receive socket"); in build_rcv_fd()
77 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
80 error(1, errno, "failed to bind receive socket"); in build_rcv_fd()
83 error(1, errno, "tcp: failed to listen on receive port"); in build_rcv_fd()
104 error(1, errno, "inet_pton failed: %s", IP4_ADDR); in connect_and_send()
117 error(1, errno, "inet_pton failed: %s", IP6_ADDR); in connect_and_send()
125 error(1, 0, "Unsupported family %d", family); in connect_and_send()
135 error(1, errno, "failed to create send socket"); in connect_and_send()
138 error(1, errno, "failed to bind send socket"); in connect_and_send()
141 error(1, errno, "failed to connect send socket"); in connect_and_send()
144 error(1, errno, "failed to send message"); in connect_and_send()
157 error(1, errno, "epoll_wait failed"); in receive_once()
162 error(1, errno, "failed to accept"); in receive_once()
170 error(1, errno, "failed to recv"); in receive_once()
182 error(1, errno, "failed to create epoll"); in test()
188 error(1, errno, "failed to register sock epoll"); in test()
195 error(1, 0, "received on an unexpected socket"); in test()