Home
last modified time | relevance | path

Searched refs:pkts (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c442 struct net_pkt *pkts[TEST_MODEM_PPP_IP_FRAME_SEND_MULT_N]; in ZTEST() local
447 pkts[i] = net_pkt_alloc_with_buffer(&test_iface, 256, AF_UNSPEC, 0, K_NO_WAIT); in ZTEST()
448 zassert_true(pkts[i] != NULL, "Failed to allocate network packet"); in ZTEST()
449 net_pkt_cursor_init(pkts[i]); in ZTEST()
450 ret = net_pkt_write(pkts[i], ip_frame_unwrapped, sizeof(ip_frame_unwrapped)); in ZTEST()
452 net_pkt_set_family(pkts[i], AF_INET); in ZTEST()
457 test_net_send(pkts[i]); in ZTEST()
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_stats.h69 stats->pkts.rx++; in ppp_stats_update_pkts_rx()
87 stats->pkts.tx++; in ppp_stats_update_pkts_tx()
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c55 PR("Packets received : %u\n", data->pkts.rx); in print_eth_stats()
56 PR("Packets sent : %u\n", data->pkts.tx); in print_eth_stats()
133 PR("Frames recv %u\n", data->pkts.rx); in print_ppp_stats()
134 PR("Frames sent %u\n", data->pkts.tx); in print_ppp_stats()
321 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
327 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
342 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
380 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
386 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
401 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
/Zephyr-latest/subsys/net/l2/ethernet/
Deth_stats.h70 stats->pkts.rx++; in eth_stats_update_pkts_rx()
88 stats->pkts.tx++; in eth_stats_update_pkts_tx()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c110 data->stats.pkts.tx++; in esp32_wifi_send()
154 esp32_data.stats.pkts.rx++; in eth_esp32_rx()
201 esp32_ap_sta_data.stats.pkts.rx++; in wifi_esp32_ap_iface_rx()
880 stats->pkts.rx = data->stats.pkts.rx; in esp32_wifi_stats()
881 stats->pkts.tx = data->stats.pkts.tx; in esp32_wifi_stats()
/Zephyr-latest/samples/net/stats/src/
Dmain.c146 printk("Packets received : %u\n", data->pkts.rx); in print_eth_stats()
147 printk("Packets sent : %u\n", data->pkts.tx); in print_eth_stats()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.c329 data->stats.pkts.tx++; in airoc_mgmt_send()
366 airoc_wifi_data.stats.pkts.rx++; in airoc_wifi_network_process_ethernet_data()
717 stats->pkts.rx = data->stats.pkts.rx; in airoc_mgmt_wifi_stats()
718 stats->pkts.tx = data->stats.pkts.tx; in airoc_mgmt_wifi_stats()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dbr.c764 uint16_t pkts; in read_buffer_size_complete() local
769 pkts = sys_le16_to_cpu(rp->acl_max_num); in read_buffer_size_complete()
771 LOG_DBG("ACL BR/EDR buffers: pkts %u mtu %u", pkts, bt_dev.br.mtu); in read_buffer_size_complete()
773 k_sem_init(&bt_dev.br.pkts, pkts, pkts); in read_buffer_size_complete()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.h282 struct k_sem pkts; member
315 struct k_sem pkts; member
Dhci_core.c3115 uint16_t pkts; in read_buffer_size_complete() local
3125 pkts = sys_le16_to_cpu(rp->acl_max_num); in read_buffer_size_complete()
3127 LOG_DBG("ACL BR/EDR buffers: pkts %u mtu %u", pkts, bt_dev.le.acl_mtu); in read_buffer_size_complete()
3129 k_sem_init(&bt_dev.le.acl_pkts, pkts, pkts); in read_buffer_size_complete()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c128 uint32_t pkts = read_len / packet_size; in icm42688_fifo_count_cb() local
130 read_len = pkts * packet_size; in icm42688_fifo_count_cb()
/Zephyr-latest/include/zephyr/net/
Dnet_stats.h330 net_stats_t pkts; member
347 net_stats_t pkts; member
594 struct net_stats_pkts pkts; member
646 struct net_stats_pkts pkts; member
677 struct net_stats_pkts pkts; member
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c172 uint32_t pkts = read_len / sample_set_size; in adxl345_process_fifo_samples_cb() local
174 read_len = pkts * sample_set_size; in adxl345_process_fifo_samples_cb()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c200 uint32_t pkts = read_len / sample_set_size; in adxl362_process_fifo_samples_cb() local
202 read_len = pkts * sample_set_size; in adxl362_process_fifo_samples_cb()
/Zephyr-latest/subsys/net/ip/
Dnet_stats.c190 GET_STAT(iface, tc.sent[i].pkts), in stats()
204 GET_STAT(iface, tc.recv[i].pkts), in stats()
Dnet_stats.h485 UPDATE_STAT(iface, stats.tc.sent[tc].pkts++); in net_stats_update_tc_sent_pkt()
586 UPDATE_STAT(iface, stats.tc.recv[tc].pkts++); in net_stats_update_tc_recv_pkt()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c245 uint32_t pkts = read_len / sample_set_size; in adxl372_process_fifo_samples_cb() local
247 read_len = pkts * sample_set_size; in adxl372_process_fifo_samples_cb()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c1152 stats->pkts.rx = if_handle->stats.pkts.rx; in nxp_wifi_stats()
1153 stats->pkts.tx = if_handle->stats.pkts.tx; in nxp_wifi_stats()
1666 if_handle->stats.pkts.tx++; in nxp_wifi_send()
1704 if_handle->stats.pkts.rx++; in nxp_wifi_recv()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c359 uint32_t pkts = read_len / packet_size; in adxl367_process_fifo_samples_cb() local
361 read_len = pkts * packet_size; in adxl367_process_fifo_samples_cb()
/Zephyr-latest/drivers/net/
Dppp.c626 ppp->stats.pkts.rx++; in ppp_process_msg()
670 ppp->stats.pkts.rx++; in ppp_process_msg()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c1214 zstats->pkts.tx = stats.host.total_tx_pkts; in nrf_wifi_stats_get()
1215 zstats->pkts.rx = stats.host.total_rx_pkts; in nrf_wifi_stats_get()
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c2432 uint32_t pkts; in dwc2_handle_out_xfercompl() local
2435 pkts = usb_dwc2_get_doeptsizn_pktcnt(priv->rx_siz[ep_idx]) - in dwc2_handle_out_xfercompl()
2439 valid = (pkts == 1); in dwc2_handle_out_xfercompl()
2442 valid = (pkts == 2); in dwc2_handle_out_xfercompl()
2445 valid = (pkts == 3); in dwc2_handle_out_xfercompl()
/Zephyr-latest/drivers/ethernet/
Deth_xlnx_gem.c497 dev_data->stats.pkts.tx++; in eth_xlnx_gem_send()
1554 dev_data->stats.pkts.rx++; in eth_xlnx_gem_handle_rx_pending()
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c19 #define UPDATE_ETH_STATS_TX_PKT_CNT(dev_data, incr) (dev_data->stats.pkts.tx += incr)
20 #define UPDATE_ETH_STATS_RX_PKT_CNT(dev_data, incr) (dev_data->stats.pkts.rx += incr)
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c1236 PR("Packets received : %u\n", data->pkts.rx); in print_wifi_stats()
1237 PR("Packets sent : %u\n", data->pkts.tx); in print_wifi_stats()

12