Home
last modified time | relevance | path

Searched refs:cJSON_AddNumberToObject (Results 1 – 4 of 4) sorted by relevance

/external/iperf3/src/
Diperf_tcp.c348 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_tcp_listen()
349 cJSON_AddNumberToObject(test->json_start, "sndbuf_actual", sndbuf_actual); in iperf_tcp_listen()
350 cJSON_AddNumberToObject(test->json_start, "rcvbuf_actual", rcvbuf_actual); in iperf_tcp_listen()
542 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_tcp_connect()
543 cJSON_AddNumberToObject(test->json_start, "sndbuf_actual", sndbuf_actual); in iperf_tcp_connect()
544 cJSON_AddNumberToObject(test->json_start, "rcvbuf_actual", rcvbuf_actual); in iperf_tcp_connect()
Diperf_api.c711 cJSON_AddNumberToObject(test->json_start, "tcp_mss", test->settings->mss); in iperf_on_connect()
713 cJSON_AddNumberToObject(test->json_start, "tcp_mss_default", test->ctrl_sck_mss); in iperf_on_connect()
716 cJSON_AddNumberToObject(test->json_start, "target_bitrate", test->settings->rate); in iperf_on_connect()
1628 cJSON_AddNumberToObject(j, "omit", test->omit); in send_parameters()
1630 cJSON_AddNumberToObject(j, "server_affinity", test->server_affinity); in send_parameters()
1631 cJSON_AddNumberToObject(j, "time", test->duration); in send_parameters()
1633 cJSON_AddNumberToObject(j, "num", test->settings->bytes); in send_parameters()
1635 cJSON_AddNumberToObject(j, "blockcount", test->settings->blocks); in send_parameters()
1637 cJSON_AddNumberToObject(j, "MSS", test->settings->mss); in send_parameters()
1640 cJSON_AddNumberToObject(j, "parallel", test->num_streams); in send_parameters()
[all …]
Diperf_udp.c328 cJSON_AddNumberToObject(test->json_start, "sock_bufsize", test->settings->socket_bufsize); in iperf_udp_buffercheck()
329 cJSON_AddNumberToObject(test->json_start, "sndbuf_actual", sndbuf_actual); in iperf_udp_buffercheck()
330 cJSON_AddNumberToObject(test->json_start, "rcvbuf_actual", rcvbuf_actual); in iperf_udp_buffercheck()
Dcjson.h247 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumb… macro