Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/net/sockets/echo_server/src/
Dudp.c206 int total_received = atomic_get(&data->udp.bytes_received); in print_stats() local
208 if (total_received) { in print_stats()
209 if ((total_received / STATS_TIMER) < 1024) { in print_stats()
211 total_received / STATS_TIMER); in print_stats()
214 total_received / 1024 / STATS_TIMER); in print_stats()
Dtcp.c362 int total_received = atomic_get(&data->tcp.bytes_received); in print_stats() local
364 if (total_received) { in print_stats()
365 if ((total_received / STATS_TIMER) < 1024) { in print_stats()
367 total_received / STATS_TIMER); in print_stats()
370 total_received / 1024 / STATS_TIMER); in print_stats()
/Zephyr-Core-3.7.0/subsys/net/lib/http/
Dhttp_client.c464 int total_received = 0; in http_wait_data() local
510 total_received += received; in http_wait_data()
532 return total_received; in http_wait_data()
540 if (total_received == 0) { in http_wait_data()
542 return total_received; in http_wait_data()
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/
Dmain.c323 ssize_t total_received = 0; in tcp_server_block_thread() local
327 while (total_received < TEST_LARGE_TRANSFER_SIZE) { in tcp_server_block_thread()
330 size_t remain = TEST_LARGE_TRANSFER_SIZE - total_received; in tcp_server_block_thread()
340 chunk_size, recved, total_received, iteration, errno); in tcp_server_block_thread()
344 int total_idx = i + total_received; in tcp_server_block_thread()
350 total_received += recved; in tcp_server_block_thread()