Searched refs:bytes_received (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | common.h | 44 atomic_t bytes_received; member 50 atomic_t bytes_received; member
|
D | udp.c | 130 atomic_add(&data->udp.bytes_received, received); in process_udp() 206 int total_received = atomic_get(&data->udp.bytes_received); in print_stats() 217 atomic_set(&data->udp.bytes_received, 0); in print_stats()
|
D | tcp.c | 165 atomic_add(&data->tcp.bytes_received, received); in handle_data() 362 int total_received = atomic_get(&data->tcp.bytes_received); in print_stats() 373 atomic_set(&data->tcp.bytes_received, 0); in print_stats()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets.c | 480 int bytes_received; in z_impl_zsock_recvfrom() local 484 bytes_received = VTABLE_CALL(recvfrom, sock, buf, max_len, flags, src_addr, addrlen); in z_impl_zsock_recvfrom() 488 bytes_received < 0 ? -errno : bytes_received); in z_impl_zsock_recvfrom() 490 sock_obj_core_update_recv_stats(sock, bytes_received); in z_impl_zsock_recvfrom() 492 return bytes_received; in z_impl_zsock_recvfrom() 529 int bytes_received; in z_impl_zsock_recvmsg() local 533 bytes_received = VTABLE_CALL(recvmsg, sock, msg, flags); in z_impl_zsock_recvmsg() 536 bytes_received < 0 ? -errno : bytes_received); in z_impl_zsock_recvmsg() 538 sock_obj_core_update_recv_stats(sock, bytes_received); in z_impl_zsock_recvmsg() 540 return bytes_received; in z_impl_zsock_recvmsg()
|
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | ws.c | 65 uint32_t bytes_received; member 163 cfg->bytes_received += received; in ws_echo_handler()
|