Lines Matching refs:error
138 error(1, errno, "setsockopt %d.%d: %d", level, optname, val); in do_setsockopt()
152 error(1, errno, "poll"); in do_poll()
163 error(1, errno, "accept"); in do_accept()
165 error(1, errno, "close listen sock"); in do_accept()
175 error(1, errno, "NULL cookie"); in add_zcopy_cookie()
208 error(1, errno, "send"); in do_sendmsg()
307 error(1, 0, "ipv4 parse error: %s", str_addr); in setup_sockaddr()
315 error(1, 0, "ipv6 parse error: %s", str_addr); in setup_sockaddr()
318 error(1, 0, "illegal domain"); in setup_sockaddr()
328 error(1, errno, "socket t"); in do_setup_tx()
336 error(1, errno, "connect"); in do_setup_tx()
340 error(1, errno, "bind"); in do_setup_tx()
351 error(1, 0, "Returned %d cookies, max expected %d\n", in do_process_zerocopy_cookies()
375 error(1, errno, "recvmsg notification: truncated"); in do_recvmsg_completion()
386 error(0, 0, "ignoring cmsg at level %d type %d\n", in do_recvmsg_completion()
411 error(1, errno, "recvmsg notification"); in do_recv_completion()
413 error(1, errno, "recvmsg notification: truncated"); in do_recv_completion()
417 error(1, 0, "cmsg: no cmsg"); in do_recv_completion()
421 error(1, 0, "serr: wrong type: %d.%d", in do_recv_completion()
427 error(1, 0, "serr: wrong origin: %u", serr->ee_origin); in do_recv_completion()
429 error(1, 0, "serr: wrong error code: %u", serr->ee_errno); in do_recv_completion()
563 error(1, errno, "close"); in do_tx()
578 error(1, 0, "Use PF_INET/SOCK_RAW to read"); in do_setup_rx()
581 error(1, 0, "IPPROTO_RAW: not supported on Rx"); in do_setup_rx()
585 error(1, errno, "socket r"); in do_setup_rx()
592 error(1, errno, "bind"); in do_setup_rx()
596 error(1, errno, "listen"); in do_setup_rx()
613 error(1, errno, "flush"); in do_flush_tcp()
639 error(1, errno, "recv"); in do_flush_datagram()
641 error(1, 0, "recv: ret=%u != %u", ret, cfg_payload_len); in do_flush_datagram()
645 error(1, 0, "recv: data mismatch"); in do_flush_datagram()
671 error(1, errno, "close"); in do_rx()
681 error(1, 0, "can only cork udp sockets"); in do_test()
696 error(1, 0, "Usage: %s [options] <test>", filepath); in usage()
715 error(1, 0, "Pass one of -4 or -6"); in parse_opts()
721 error(1, 0, "Pass one of -4 or -6"); in parse_opts()
737 error(1, errno, "invalid iface: %s", optarg); in parse_opts()
769 error(1, 0, "-D <server addr> required for PF_RDS\n"); in parse_opts()
771 error(1, 0, "-S <client addr> required for PF_RDS\n"); in parse_opts()
777 error(1, 0, "-s: payload exceeds max (%d)", max_payload_len); in parse_opts()
779 error(1, 0, "-m: cork_mixed requires corking and zerocopy"); in parse_opts()
808 error(1, 0, "unknown cfg_test %s", cfg_test); in main()