Home
last modified time | relevance | path

Searched refs:bytes_sent (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/
Dmain.c71 size_t bytes_sent = 0; in send_for_time() local
99 bytes_sent += mlen; in send_for_time()
114 LOG_INF("Sent %zu [Bytes] over %lld [ms]", bytes_sent, sending_time_ms); in send_for_time()
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/src/
Dmain.c75 size_t bytes_sent = 0; in send_for_time() local
103 bytes_sent += mlen; in send_for_time()
118 LOG_INF("Sent %zu [Bytes] over %lld [ms]", bytes_sent, sending_time_ms); in send_for_time()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c337 int bytes_sent; in z_impl_zsock_sendto() local
342 bytes_sent = VTABLE_CALL(sendto, sock, buf, len, flags, dest_addr, addrlen); in z_impl_zsock_sendto()
345 bytes_sent < 0 ? -errno : bytes_sent); in z_impl_zsock_sendto()
347 sock_obj_core_update_send_stats(sock, bytes_sent); in z_impl_zsock_sendto()
349 return bytes_sent; in z_impl_zsock_sendto()
374 int bytes_sent; in z_impl_zsock_sendmsg() local
378 bytes_sent = VTABLE_CALL(sendmsg, sock, msg, flags); in z_impl_zsock_sendmsg()
381 bytes_sent < 0 ? -errno : bytes_sent); in z_impl_zsock_sendmsg()
383 sock_obj_core_update_send_stats(sock, bytes_sent); in z_impl_zsock_sendmsg()
385 return bytes_sent; in z_impl_zsock_sendmsg()
/Zephyr-latest/samples/net/sockets/http_server/src/
Dws.c208 uint32_t bytes_sent = 0; in netstats_collect() local
230 bytes_sent = data.bytes.sent; in netstats_collect()
244 ret = snprintf(buf, maxlen, net_stats_json_template, bytes_recv, bytes_sent, ipv6_recv, in netstats_collect()
/Zephyr-latest/tests/drivers/uart/uart_elementary/src/
Dmain.c54 uint8_t bytes_sent = 0; in uart_tx_interrupt_service() local
58 bytes_sent = uart_fifo_fill(dev, tx_data_pointer, 1); in uart_tx_interrupt_service()
59 *tx_byte_offset += bytes_sent; in uart_tx_interrupt_service()
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c321 uint32_t bytes_sent; member
366 dfu_data.bytes_sent = 0U; in dfu_reset_counters()
538 dfu_data.bytes_sent; in dfu_class_handle_to_host()
564 ret = flash_area_read(fa, dfu_data.bytes_sent, in dfu_class_handle_to_host()
575 dfu_data.bytes_sent += len; in dfu_class_handle_to_host()
578 if (dfu_data.bytes_sent == dfu_data.flash_upload_size && in dfu_class_handle_to_host()
/Zephyr-latest/include/zephyr/net/
Dnet_stats.h1423 NET_STATS_GET_INSTANCE(dev_id, sfx, bytes_sent), \
1426 NET_STATS_GET_VAR(dev_id, sfx, bytes_sent), \