Lines Matching refs:fprintf

109 	fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] "
112 fprintf(stderr, "\t-6 use ipv6\n");
113 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n");
114 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount "
118 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin");
119 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num "
121 fprintf(stderr, "\t-j -- add additional sleep at connection start and tear down "
123 fprintf(stderr, "\t-l -- listens mode, accepts incoming connection\n");
124 fprintf(stderr, "\t-m [poll|mmap|sendfile] -- use poll(default)/mmap+write/sendfile\n");
125 fprintf(stderr, "\t-M mark -- set socket packet mark\n");
126 fprintf(stderr, "\t-o option -- test sockopt <option>\n");
127 fprintf(stderr, "\t-p num -- use port num\n");
128 fprintf(stderr,
130 fprintf(stderr, "\t-r num -- enable slow mode, limiting each write to num bytes "
132 fprintf(stderr, "\t-R num -- set SO_RCVBUF to num\n");
133 fprintf(stderr, "\t-s [MPTCP|TCP] -- use mptcp(default) or tcp sockets\n");
134 fprintf(stderr, "\t-S num -- set SO_SNDBUF to num\n");
135 fprintf(stderr, "\t-t num -- set poll timeout to num\n");
136 fprintf(stderr, "\t-T num -- set expected runtime to num ms\n");
137 fprintf(stderr, "\t-w num -- wait num sec before closing the socket\n");
175 fprintf(stderr, "Fatal: getnameinfo: %s\n", errstr);
189 fprintf(stderr, "Fatal: getaddrinfo(%s:%s): %s\n",
334 fprintf(stderr, "Could not create listen socket\n");
641 fprintf(stderr, "%s: poll timed out (events: "
726 fprintf(stderr, "Unexpected revents: "
824 fprintf(stderr, "%s: stdin is not a regular file\n", __func__);
830 fprintf(stderr, "File too large: %zu\n", count);
946 fprintf(stderr, "Invalid mode %d\n", cfg_mode);
973 fprintf(stderr, "%d", delta_ms);
991 fprintf(stderr, "accept: something wrong: ip connection from port 0");
997 fprintf(stderr, "accept: something wrong: ipv6 connection from port 0");
1000 fprintf(stderr, "accept: Unknown pf %d, salen %u\n", pf, salen);
1005 fprintf(stderr, "accept: size mismatch, got %d expected %d\n",
1009 fprintf(stderr, "accept: pf mismatch, expect %d, ss_family is %d\n",
1024 fprintf(stderr, "%s: %d vs %d\n", __func__, peersalen, salen);
1040 fprintf(stderr, "%s: memcmp failure: accept %s vs peername %s, %s vs %s salen %d vs %d\n",
1061 fprintf(stderr, "%s: %s vs %s, %s vs %s\n", __func__,
1091 fprintf(stderr, "%s: timed out\n", __func__);
1184 fprintf(stderr, "Unrecognized cmsg option %s\n", type);
1210 fprintf(stderr, "Unrecognized setsockopt option %s\n", name);
1312 fprintf(stderr, "Unknown protocol: %s\n.", proto);
1328 fprintf(stderr, "Unknown test mode: %s\n", mode);
1329 fprintf(stderr, "Supported modes are:\n");
1330 fprintf(stderr, "\t\t\"poll\" - interleaved read/write using poll()\n");
1331 fprintf(stderr, "\t\t\"mmap\" - send entire input file (mmap+write), then read response (-l will read input first)\n");
1332 fprintf(stderr, "\t\t\"sendfile\" - send entire input file (sendfile), then read response (-l will read input first)\n");
1347 fprintf(stderr, "Unknown: %s\n", mode);
1348 fprintf(stderr, "Supported MSG_PEEK mode are:\n");
1349 fprintf(stderr,
1351 fprintf(stderr,
1369 fprintf(stderr, "Invalid sndbuf size %s (%s)\n",
1375 fprintf(stderr, "Invalid sndbuf size %s (%s)\n",