Lines Matching refs:stderr
82 fprintf(stderr, "Usage: mptcp_connect [-6] [-u] [-s MPTCP|TCP] [-p port] [-m mode]" in die_usage()
84 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
85 fprintf(stderr, "\t-t num -- set poll timeout to num\n"); in die_usage()
86 fprintf(stderr, "\t-T num -- set expected runtime to num ms\n"); in die_usage()
87 fprintf(stderr, "\t-S num -- set SO_SNDBUF to num\n"); in die_usage()
88 fprintf(stderr, "\t-R num -- set SO_RCVBUF to num\n"); in die_usage()
89 fprintf(stderr, "\t-p num -- use port num\n"); in die_usage()
90 fprintf(stderr, "\t-s [MPTCP|TCP] -- use mptcp(default) or tcp sockets\n"); in die_usage()
91 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n"); in die_usage()
92 fprintf(stderr, "\t-M mark -- set socket packet mark\n"); in die_usage()
93 fprintf(stderr, "\t-u -- check mptcp ulp\n"); in die_usage()
94 fprintf(stderr, "\t-w num -- wait num sec before closing the socket\n"); in die_usage()
95 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage()
96 fprintf(stderr, in die_usage()
106 vfprintf(stderr, fmt, ap); in xerror()
135 fprintf(stderr, "Fatal: getnameinfo: %s\n", errstr); in xgetnameinfo()
149 fprintf(stderr, "Fatal: getaddrinfo(%s:%s): %s\n", in xgetaddrinfo()
226 fprintf(stderr, "Could not create listen socket\n"); in sock_listen_mptcp()
268 fprintf(stderr, in sock_test_tcpulp()
479 fprintf(stderr, "%s: poll timed out (events: " in copyfd_io_poll()
548 fprintf(stderr, "Unexpected revents: " in copyfd_io_poll()
623 fprintf(stderr, "%s: stdin is not a regular file\n", __func__); in get_infd_size()
629 fprintf(stderr, "File too large: %zu\n", count); in get_infd_size()
730 fprintf(stderr, "Invalid mode %d\n", cfg_mode); in copyfd_io()
754 fprintf(stderr, "%d", delta_ms); in copyfd_io()
772 fprintf(stderr, "accept: something wrong: ip connection from port 0"); in check_sockaddr()
778 fprintf(stderr, "accept: something wrong: ipv6 connection from port 0"); in check_sockaddr()
781 fprintf(stderr, "accept: Unknown pf %d, salen %u\n", pf, salen); in check_sockaddr()
786 fprintf(stderr, "accept: size mismatch, got %d expected %d\n", in check_sockaddr()
790 fprintf(stderr, "accept: pf mismatch, expect %d, ss_family is %d\n", in check_sockaddr()
805 fprintf(stderr, "%s: %d vs %d\n", __func__, peersalen, salen); in check_getpeername()
821 fprintf(stderr, "%s: memcmp failure: accept %s vs peername %s, %s vs %s salen %d vs %d\n", in check_getpeername()
842 fprintf(stderr, "%s: %s vs %s, %s vs %s\n", __func__, in check_getpeername_connect()
869 fprintf(stderr, "%s: timed out\n", __func__); in main_loop_s()
943 fprintf(stderr, "Unrecognized cmsg option %s\n", type); in parse_cmsg_types()
975 fprintf(stderr, "Unknown protocol: %s\n.", proto); in parse_proto()
991 fprintf(stderr, "Unknown test mode: %s\n", mode); in parse_mode()
992 fprintf(stderr, "Supported modes are:\n"); in parse_mode()
993 fprintf(stderr, "\t\t\"poll\" - interleaved read/write using poll()\n"); in parse_mode()
994 …fprintf(stderr, "\t\t\"mmap\" - send entire input file (mmap+write), then read response (-l will r… in parse_mode()
995 …fprintf(stderr, "\t\t\"sendfile\" - send entire input file (sendfile), then read response (-l will… in parse_mode()
1010 fprintf(stderr, "Unknown: %s\n", mode); in parse_peek()
1011 fprintf(stderr, "Supported MSG_PEEK mode are:\n"); in parse_peek()
1012 fprintf(stderr, in parse_peek()
1014 fprintf(stderr, in parse_peek()
1032 fprintf(stderr, "Invalid sndbuf size %s (%s)\n", in parse_int()
1038 fprintf(stderr, "Invalid sndbuf size %s (%s)\n", in parse_int()