Lines Matching refs:cJSON_AddNumberToObject
833 cJSON_AddNumberToObject(test->json_start, "tcp_mss", test->settings->mss); in iperf_on_connect()
835 cJSON_AddNumberToObject(test->json_start, "tcp_mss_default", test->ctrl_sck_mss); in iperf_on_connect()
838 cJSON_AddNumberToObject(test->json_start, "target_bitrate", test->settings->rate); in iperf_on_connect()
1848 cJSON_AddNumberToObject(j, "omit", test->omit); in send_parameters()
1850 cJSON_AddNumberToObject(j, "server_affinity", test->server_affinity); in send_parameters()
1851 cJSON_AddNumberToObject(j, "time", test->duration); in send_parameters()
1853 cJSON_AddNumberToObject(j, "num", test->settings->bytes); in send_parameters()
1855 cJSON_AddNumberToObject(j, "blockcount", test->settings->blocks); in send_parameters()
1857 cJSON_AddNumberToObject(j, "MSS", test->settings->mss); in send_parameters()
1860 cJSON_AddNumberToObject(j, "parallel", test->num_streams); in send_parameters()
1866 cJSON_AddNumberToObject(j, "window", test->settings->socket_bufsize); in send_parameters()
1868 cJSON_AddNumberToObject(j, "len", test->settings->blksize); in send_parameters()
1870 cJSON_AddNumberToObject(j, "bandwidth", test->settings->rate); in send_parameters()
1872 cJSON_AddNumberToObject(j, "fqrate", test->settings->fqrate); in send_parameters()
1874 cJSON_AddNumberToObject(j, "pacing_timer", test->settings->pacing_timer); in send_parameters()
1876 cJSON_AddNumberToObject(j, "burst", test->settings->burst); in send_parameters()
1878 cJSON_AddNumberToObject(j, "TOS", test->settings->tos); in send_parameters()
1880 cJSON_AddNumberToObject(j, "flowlabel", test->settings->flowlabel); in send_parameters()
1890 cJSON_AddNumberToObject(j, "get_server_output", iperf_get_test_get_server_output(test)); in send_parameters()
1892 cJSON_AddNumberToObject(j, "udp_counters_64bit", iperf_get_test_udp_counters_64bit(test)); in send_parameters()
1894 cJSON_AddNumberToObject(j, "repeating_payload", test->repeating_payload); in send_parameters()
2010 cJSON_AddNumberToObject(test->json_start, "target_bitrate", test->settings->rate); in get_parameters()
2037 cJSON_AddNumberToObject(j, "cpu_util_total", test->cpu_util[0]); in send_results()
2038 cJSON_AddNumberToObject(j, "cpu_util_user", test->cpu_util[1]); in send_results()
2039 cJSON_AddNumberToObject(j, "cpu_util_system", test->cpu_util[2]); in send_results()
2044 cJSON_AddNumberToObject(j, "sender_has_retransmits", sender_has_retransmits); in send_results()
2092 cJSON_AddNumberToObject(j_stream, "id", sp->id); in send_results()
2093 cJSON_AddNumberToObject(j_stream, "bytes", bytes_transferred); in send_results()
2094 cJSON_AddNumberToObject(j_stream, "retransmits", retransmits); in send_results()
2095 cJSON_AddNumberToObject(j_stream, "jitter", sp->jitter); in send_results()
2096 cJSON_AddNumberToObject(j_stream, "errors", sp->cnt_error); in send_results()
2097 cJSON_AddNumberToObject(j_stream, "packets", sp->packet_count); in send_results()
2103 cJSON_AddNumberToObject(j_stream, "start_time", start_time); in send_results()
2104 cJSON_AddNumberToObject(j_stream, "end_time", end_time); in send_results()