/Zephyr-latest/tests/subsys/modem/modem_ppp/src/ |
D | main.c | 442 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/ |
D | ppp_stats.h | 69 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/ |
D | stats.c | 55 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/ |
D | eth_stats.h | 70 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/ |
D | esp_wifi_drv.c | 110 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/ |
D | main.c | 146 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/ |
D | airoc_wifi.c | 329 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/ |
D | br.c | 764 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/ |
D | hci_core.h | 282 struct k_sem pkts; member 315 struct k_sem pkts; member
|
D | hci_core.c | 3115 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/ |
D | icm42688_rtio_stream.c | 128 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/ |
D | net_stats.h | 330 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/ |
D | adxl345_stream.c | 172 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/ |
D | adxl362_stream.c | 200 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/ |
D | net_stats.c | 190 GET_STAT(iface, tc.sent[i].pkts), in stats() 204 GET_STAT(iface, tc.recv[i].pkts), in stats()
|
D | net_stats.h | 485 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/ |
D | adxl372_stream.c | 245 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/ |
D | nxp_wifi_drv.c | 1152 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/ |
D | adxl367_stream.c | 359 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/ |
D | ppp.c | 626 ppp->stats.pkts.rx++; in ppp_process_msg() 670 ppp->stats.pkts.rx++; in ppp_process_msg()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | net_if.c | 1214 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/ |
D | udc_dwc2.c | 2432 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/ |
D | eth_xlnx_gem.c | 497 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/ |
D | eth_dwc_xgmac.c | 19 #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/ |
D | wifi_shell.c | 1236 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()
|