Lines Matching refs:error
76 error(1, errno, "setsockopt %d.%d: %d", level, optname, val); in do_setsockopt()
85 error(1, errno, "socket t"); in do_setup_tx()
90 error(1, errno, "connect"); in do_setup_tx()
109 error(1, ret, "io_uring: queue init"); in do_tx()
116 error(1, ret, "io_uring: buffer registration"); in do_tx()
152 error(1, ret, "submit"); in do_tx()
159 error(1, ret, "wait cqe"); in do_tx()
163 error(1, -EINVAL, "invalid cqe->user_data"); in do_tx()
167 error(1, -EINVAL, "invalid notif flags"); in do_tx()
169 error(1, -EINVAL, "notification mismatch"); in do_tx()
177 error(1, cqe->res, "unexpected F_MORE"); in do_tx()
184 error(1, cqe->res, "send failed"); in do_tx()
193 error(1, ret, "wait cqe"); in do_tx()
195 error(1, -EINVAL, "invalid notif flags"); in do_tx()
197 error(1, -EINVAL, "missing notif flag"); in do_tx()
209 error(1, errno, "close"); in do_tx()
223 error(1, 0, "Usage: %s (-4|-6) (udp|tcp) -D<dst_ip> [-s<payload size>] " in usage()
246 error(1, 0, "Pass one of -4 or -6"); in parse_opts()
252 error(1, 0, "Pass one of -4 or -6"); in parse_opts()
287 error(1, 0, "ipv4 parse error: %s", daddr); in parse_opts()
295 error(1, 0, "ipv6 parse error: %s", daddr); in parse_opts()
298 error(1, 0, "illegal domain"); in parse_opts()
302 error(1, 0, "-s: payload exceeds max (%d)", max_payload_len); in parse_opts()
318 error(1, 0, "unknown cfg_test %s", cfg_test); in main()