Lines Matching refs:shell_fprintf
102 shell_fprintf(sh, SHELL_NORMAL, "%u.%s%u %s", radix, in print_number()
105 shell_fprintf(sh, SHELL_NORMAL, "%u %s", value, *unit); in print_number()
128 shell_fprintf(sh, SHELL_NORMAL, "%llu.%s%u %s", radix, in print_number_64()
131 shell_fprintf(sh, SHELL_NORMAL, "%llu %s", value, *unit); in print_number_64()
171 shell_fprintf(sh, SHELL_WARNING, in parse_ipv6_addr()
195 shell_fprintf(sh, SHELL_WARNING, in parse_ipv4_addr()
224 shell_fprintf(sh, SHELL_WARNING, in zperf_bind_host()
248 shell_fprintf(sh, SHELL_WARNING, in cmd_setip()
253 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
265 shell_fprintf(sh, SHELL_WARNING, in cmd_setip()
270 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
284 shell_fprintf(sh, SHELL_WARNING, in cmd_setip()
289 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
300 shell_fprintf(sh, SHELL_WARNING, in cmd_setip()
305 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
322 shell_fprintf(sh, SHELL_NORMAL, "New session started.\n"); in udp_session_cb()
337 shell_fprintf(sh, SHELL_NORMAL, "End of session!\n"); in udp_session_cb()
339 shell_fprintf(sh, SHELL_NORMAL, " duration:\t\t"); in udp_session_cb()
341 shell_fprintf(sh, SHELL_NORMAL, "\n"); in udp_session_cb()
343 shell_fprintf(sh, SHELL_NORMAL, " received packets:\t%u\n", in udp_session_cb()
345 shell_fprintf(sh, SHELL_NORMAL, " nb packets lost:\t%u\n", in udp_session_cb()
347 shell_fprintf(sh, SHELL_NORMAL, " nb packets outorder:\t%u\n", in udp_session_cb()
350 shell_fprintf(sh, SHELL_NORMAL, " jitter:\t\t\t"); in udp_session_cb()
352 shell_fprintf(sh, SHELL_NORMAL, "\n"); in udp_session_cb()
354 shell_fprintf(sh, SHELL_NORMAL, " rate:\t\t\t"); in udp_session_cb()
356 shell_fprintf(sh, SHELL_NORMAL, "\n"); in udp_session_cb()
362 shell_fprintf(sh, SHELL_ERROR, "UDP session error.\n"); in udp_session_cb()
397 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_download()
408 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_download()
424 shell_fprintf(sh, SHELL_WARNING, "UDP server not running!\n"); in cmd_udp_download_stop()
428 shell_fprintf(sh, SHELL_NORMAL, "UDP server stopped\n"); in cmd_udp_download_stop()
443 shell_fprintf(sh, SHELL_WARNING, in cmd_udp_download()
450 shell_fprintf(sh, SHELL_WARNING, in cmd_udp_download()
458 shell_fprintf(sh, SHELL_WARNING, in cmd_udp_download()
462 shell_fprintf(sh, SHELL_ERROR, in cmd_udp_download()
469 shell_fprintf(sh, SHELL_NORMAL, in cmd_udp_download()
484 shell_fprintf(sh, SHELL_NORMAL, "-\nUpload completed!\n"); in shell_udp_upload_print_stats()
505 shell_fprintf(sh, SHELL_ERROR, in shell_udp_upload_print_stats()
509 shell_fprintf(sh, SHELL_NORMAL, in shell_udp_upload_print_stats()
511 shell_fprintf(sh, SHELL_NORMAL, "Duration:\t\t"); in shell_udp_upload_print_stats()
514 shell_fprintf(sh, SHELL_NORMAL, "\t("); in shell_udp_upload_print_stats()
517 shell_fprintf(sh, SHELL_NORMAL, ")\n"); in shell_udp_upload_print_stats()
519 shell_fprintf(sh, SHELL_NORMAL, "Num packets:\t\t%u\t(%u)\n", in shell_udp_upload_print_stats()
523 shell_fprintf(sh, SHELL_NORMAL, in shell_udp_upload_print_stats()
526 shell_fprintf(sh, SHELL_NORMAL, "Num packets lost:\t%u\n", in shell_udp_upload_print_stats()
529 shell_fprintf(sh, SHELL_NORMAL, "Jitter:\t\t\t"); in shell_udp_upload_print_stats()
532 shell_fprintf(sh, SHELL_NORMAL, "\n"); in shell_udp_upload_print_stats()
534 shell_fprintf(sh, SHELL_NORMAL, "Rate:\t\t\t"); in shell_udp_upload_print_stats()
536 shell_fprintf(sh, SHELL_NORMAL, "\t("); in shell_udp_upload_print_stats()
538 shell_fprintf(sh, SHELL_NORMAL, ")\n"); in shell_udp_upload_print_stats()
548 shell_fprintf(sh, SHELL_NORMAL, "-\nUpload completed!\n"); in shell_tcp_upload_print_stats()
560 shell_fprintf(sh, SHELL_NORMAL, "Duration:\t"); in shell_tcp_upload_print_stats()
563 shell_fprintf(sh, SHELL_NORMAL, "\n"); in shell_tcp_upload_print_stats()
564 shell_fprintf(sh, SHELL_NORMAL, "Num packets:\t%u\n", in shell_tcp_upload_print_stats()
566 shell_fprintf(sh, SHELL_NORMAL, in shell_tcp_upload_print_stats()
569 shell_fprintf(sh, SHELL_NORMAL, "Rate:\t\t"); in shell_tcp_upload_print_stats()
571 shell_fprintf(sh, SHELL_NORMAL, "\n"); in shell_tcp_upload_print_stats()
591 shell_fprintf(sh, SHELL_NORMAL, "Duration: "); in shell_tcp_upload_print_periodic()
594 shell_fprintf(sh, SHELL_NORMAL, " | "); in shell_tcp_upload_print_periodic()
595 shell_fprintf(sh, SHELL_NORMAL, "Packets: %6u | ", in shell_tcp_upload_print_periodic()
597 shell_fprintf(sh, SHELL_NORMAL, in shell_tcp_upload_print_periodic()
600 shell_fprintf(sh, SHELL_NORMAL, "Rate: "); in shell_tcp_upload_print_periodic()
602 shell_fprintf(sh, SHELL_NORMAL, "\n"); in shell_tcp_upload_print_periodic()
622 shell_fprintf(sh, SHELL_ERROR, "UDP upload failed\n"); in udp_upload_cb()
650 shell_fprintf(sh, SHELL_ERROR, "TCP upload failed\n"); in tcp_upload_cb()
684 shell_fprintf(sh, SHELL_WARNING, "Cannot send ping (%d)\n", ret); in send_ping()
700 shell_fprintf(sh, SHELL_WARNING, "ping %s timeout\n", in send_ping()
714 shell_fprintf(sh, SHELL_NORMAL, "Duration:\t"); in execute_upload()
717 shell_fprintf(sh, SHELL_NORMAL, "\n"); in execute_upload()
718 shell_fprintf(sh, SHELL_NORMAL, "Packet size:\t%u bytes\n", in execute_upload()
720 shell_fprintf(sh, SHELL_NORMAL, "Rate:\t\t%u kbps\n", in execute_upload()
722 shell_fprintf(sh, SHELL_NORMAL, "Starting...\n"); in execute_upload()
738 shell_fprintf(sh, SHELL_NORMAL, "Rate:\t\t"); in execute_upload()
740 shell_fprintf(sh, SHELL_NORMAL, "\n"); in execute_upload()
743 shell_fprintf(sh, SHELL_NORMAL, "Packet duration %u ms\n", in execute_upload()
746 shell_fprintf(sh, SHELL_NORMAL, "Packet duration %u us\n", in execute_upload()
754 shell_fprintf(sh, SHELL_ERROR, in execute_upload()
761 shell_fprintf(sh, SHELL_ERROR, in execute_upload()
770 shell_fprintf(sh, SHELL_WARNING, in execute_upload()
780 shell_fprintf(sh, SHELL_ERROR, in execute_upload()
787 shell_fprintf(sh, SHELL_ERROR, in execute_upload()
796 shell_fprintf(sh, SHELL_WARNING, in execute_upload()
860 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
877 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
890 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
901 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
915 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
920 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
930 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
940 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
960 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_upload()
969 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
973 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
979 shell_fprintf(sh, SHELL_NORMAL, "Connecting to %s\n", in shell_cmd_upload()
988 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
992 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
998 shell_fprintf(sh, SHELL_NORMAL, "Connecting to %s\n", in shell_cmd_upload()
1009 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
1013 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
1019 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_upload()
1025 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_upload()
1050 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload()
1093 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1110 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1123 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1134 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1148 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1153 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1163 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1173 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1195 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1200 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_upload2()
1207 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1212 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_upload2()
1236 shell_fprintf(sh, SHELL_WARNING, in shell_cmd_upload2()
1265 shell_fprintf(sh, SHELL_INFO, "TCP support is not enabled. " in cmd_tcp()
1278 shell_fprintf(sh, SHELL_INFO, "UDP support is not enabled. " in cmd_udp()
1286 shell_fprintf(sh, SHELL_INFO, in cmd_connectap()
1300 shell_fprintf(sh, SHELL_NORMAL, "New TCP session started.\n"); in tcp_session_cb()
1315 shell_fprintf(sh, SHELL_NORMAL, "TCP session ended\n"); in tcp_session_cb()
1317 shell_fprintf(sh, SHELL_NORMAL, " Duration:\t\t"); in tcp_session_cb()
1319 shell_fprintf(sh, SHELL_NORMAL, "\n"); in tcp_session_cb()
1321 shell_fprintf(sh, SHELL_NORMAL, " rate:\t\t\t"); in tcp_session_cb()
1323 shell_fprintf(sh, SHELL_NORMAL, "\n"); in tcp_session_cb()
1329 shell_fprintf(sh, SHELL_ERROR, "TCP session error.\n"); in tcp_session_cb()
1344 shell_fprintf(sh, SHELL_WARNING, "TCP server not running!\n"); in cmd_tcp_download_stop()
1348 shell_fprintf(sh, SHELL_NORMAL, "TCP server stopped\n"); in cmd_tcp_download_stop()
1363 shell_fprintf(sh, SHELL_WARNING, in cmd_tcp_download()
1370 shell_fprintf(sh, SHELL_WARNING, in cmd_tcp_download()
1378 shell_fprintf(sh, SHELL_WARNING, in cmd_tcp_download()
1382 shell_fprintf(sh, SHELL_ERROR, in cmd_tcp_download()
1387 shell_fprintf(sh, SHELL_NORMAL, in cmd_tcp_download()
1398 shell_fprintf(sh, SHELL_NORMAL, "Version: %s\nConfig: %s\n", in cmd_version()