Home
last modified time | relevance | path

Searched refs:recv (Results 1 – 25 of 260) sorted by relevance

1234567891011

/Zephyr-latest/samples/net/stats/
DREADME.rst42 IPv6 recv 27 sent 8 drop 0 forwarded 0
43 IPv6 ND recv 2 sent 5 drop 2
44 IPv6 MLD recv 0 sent 3 drop 0
45 IPv4 recv 20 sent 0 drop 20 forwarded 0
48 ICMP recv 15 sent 3 drop 13
50 UDP recv 0 sent 0 drop 30
52 TCP bytes recv 0 sent 0
53 TCP seg recv 0 sent 0 drop 0
/Zephyr-latest/samples/boards/st/uart/single_wire/src/
Dmain.c20 unsigned char recv; in main() local
34 int ret = uart_poll_in(sl_uart2, &recv); in main()
39 printk("Received %c\n", recv); in main()
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c169 tc.recv[i].rx_time_detail[j].count); in get_net_pkt_tc_stats_detail()
186 tc.recv[i].rx_time_detail[j].sum) / in get_net_pkt_tc_stats_detail()
375 tc.recv[i].rx_time.count); in print_tc_rx_stats()
378 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
379 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
380 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
381 GET_STAT(iface, tc.recv[i].bytes)); in print_tc_rx_stats()
384 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
385 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
386 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
[all …]
/Zephyr-latest/samples/net/stats/src/
Dmain.c36 GET_STAT(iface, ipv6.recv), in print_stats()
42 GET_STAT(iface, ipv6_nd.recv), in print_stats()
48 GET_STAT(iface, ipv6_pmtu.recv), in print_stats()
54 GET_STAT(iface, ipv6_mld.recv), in print_stats()
62 GET_STAT(iface, ipv4.recv), in print_stats()
79 GET_STAT(iface, ipv4_pmtu.recv), in print_stats()
85 GET_STAT(iface, icmp.recv), in print_stats()
94 GET_STAT(iface, udp.recv), in print_stats()
106 GET_STAT(iface, tcp.recv), in print_stats()
/Zephyr-latest/tests/bluetooth/hci_uart_async/src/
Dtest_hci_uart_async.c33 bt_hci_recv_t recv; member
38 static int drv_open(const struct device *dev, bt_hci_recv_t recv);
84 static int drv_open(const struct device *dev, bt_hci_recv_t recv) in drv_open() argument
90 drv->recv = recv; in drv_open()
235 err = drv->recv(dev, buf); in ZTEST()
/Zephyr-latest/subsys/net/l2/dummy/any/
Dany.c61 if (net_if_l2(ctx->virtual_iface)->recv == NULL) { in any_recv()
68 verdict = net_if_l2(ctx->virtual_iface)->recv(iface, pkt); in any_recv()
79 .recv = any_recv,
/Zephyr-latest/subsys/net/ip/
Dnet_stats.c89 GET_STAT(iface, ipv6.recv), in stats()
95 GET_STAT(iface, ipv6_nd.recv), in stats()
101 GET_STAT(iface, ipv6_pmtu.recv), in stats()
107 GET_STAT(iface, ipv6_mld.recv), in stats()
115 GET_STAT(iface, ipv4.recv), in stats()
132 GET_STAT(iface, ipv4_pmtu.recv), in stats()
138 GET_STAT(iface, icmp.recv), in stats()
147 GET_STAT(iface, udp.recv), in stats()
159 GET_STAT(iface, tcp.recv), in stats()
202 tc.recv[i].priority)), in stats()
[all …]
Dnet_stats.h80 UPDATE_STAT(iface, stats.ipv6.recv++); in net_stats_update_ipv6_recv()
103 UPDATE_STAT(iface, stats.ipv6_nd.recv++); in net_stats_update_ipv6_nd_recv()
126 UPDATE_STAT(iface, stats.ipv6_pmtu.recv++); in net_stats_update_ipv6_pmtu_recv()
149 UPDATE_STAT(iface, stats.ipv4_pmtu.recv++); in net_stats_update_ipv4_pmtu_recv()
177 UPDATE_STAT(iface, stats.ipv4.recv++); in net_stats_update_ipv4_recv()
194 UPDATE_STAT(iface, stats.icmp.recv++); in net_stats_update_icmp_recv()
216 UPDATE_STAT(iface, stats.udp.recv++); in net_stats_update_udp_recv()
265 UPDATE_STAT(iface, stats.tcp.recv++); in net_stats_update_tcp_seg_recv()
355 UPDATE_STAT(iface, stats.ipv6_mld.recv++); in net_stats_update_ipv6_mld_recv()
376 UPDATE_STAT(iface, stats.ipv4_igmp.recv++); in net_stats_update_ipv4_igmp_recv()
[all …]
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c172 static void bypass_cb(const struct shell *sh, uint8_t *recv, size_t len) in bypass_cb() argument
178 if (tail == CHAR_CAN && recv[0] == CHAR_DC1) { in bypass_cb()
182 if (recv[i] == CHAR_CAN && recv[i + 1] == CHAR_DC1) { in bypass_cb()
210 tail = recv[len - 1]; in bypass_cb()
212 if (is_ascii(*recv)) { in bypass_cb()
213 chunk[chunk_element] = *recv; in bypass_cb()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_ifx_psoc6_bless.c36 bt_hci_recv_t recv; member
144 hci->recv(dev, buf); in psoc6_bless_events_handler()
147 static int psoc6_bless_open(const struct device *dev, bt_hci_recv_t recv) in psoc6_bless_open() argument
152 hci->recv = recv; in psoc6_bless_open()
Dhci_silabs_efr32.c21 bt_hci_recv_t recv; member
99 hci->recv(dev, buf); in hci_common_transport_transmit()
155 static int slz_bt_open(const struct device *dev, bt_hci_recv_t recv) in slz_bt_open() argument
245 hci->recv = recv; in slz_bt_open()
Dhci_esp32.c25 bt_hci_recv_t recv; member
221 hci->recv(dev, buf); in hci_esp_host_rcv_pkt()
331 static int bt_esp32_open(const struct device *dev, bt_hci_recv_t recv) in bt_esp32_open() argument
341 hci->recv = recv; in bt_esp32_open()
358 hci->recv = NULL; in bt_esp32_close()
Dhci_ifx_cyw208xx.c79 bt_hci_recv_t recv; member
224 static int cyw208xx_open(const struct device *dev, bt_hci_recv_t recv) in cyw208xx_open() argument
229 hci->recv = recv; in cyw208xx_open()
253 hci->recv = NULL; in cyw208xx_close()
407 hci->recv(dev, buf); in wiced_bt_process_hci()
Dhci_ambiq.c75 bt_hci_recv_t recv; member
339 hci->recv(dev, buf); in bt_spi_rx_thread()
376 static int bt_apollo_open(const struct device *dev, bt_hci_recv_t recv) in bt_apollo_open() argument
393 hci->recv = recv; in bt_apollo_open()
409 hci->recv = NULL; in bt_apollo_close()
Dhci_nxp.c30 bt_hci_recv_t recv; member
339 hci->recv(dev, buf); in process_rx()
421 static int bt_nxp_open(const struct device *dev, bt_hci_recv_t recv) in bt_nxp_open() argument
445 hci->recv = recv; in bt_nxp_open()
521 hci->recv = NULL; in bt_nxp_close()
Dipc.c26 bt_hci_recv_t recv; member
242 ipc->recv(dev, buf); in bt_ipc_rx()
310 static int bt_ipc_open(const struct device *dev, bt_hci_recv_t recv) in bt_ipc_open() argument
341 ipc->recv = recv; in bt_ipc_open()
377 ipc->recv = NULL; in bt_ipc_close()
/Zephyr-latest/include/zephyr/net/
Dnet_stats.h72 net_stats_t recv; member
116 net_stats_t recv; member
145 net_stats_t recv; member
185 net_stats_t recv; member
202 net_stats_t recv; member
216 net_stats_t recv; member
230 net_stats_t recv; member
241 net_stats_t recv; member
255 net_stats_t recv; member
269 net_stats_t recv; member
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dproxy_msg.h45 proxy_recv_cb_t recv; member
60 proxy_recv_cb_t recv);
Dproxy_msg.c102 role->cb.recv(role); in bt_mesh_proxy_msg_recv()
148 role->cb.recv(role); in bt_mesh_proxy_msg_recv()
300 proxy_recv_cb_t recv) in bt_mesh_proxy_role_setup() argument
311 role->cb.recv = recv; in bt_mesh_proxy_role_setup()
/Zephyr-latest/drivers/serial/
Duart_hvc_xen.c34 int recv = 0; in read_from_ring() local
44 while (cons != prod && recv < len) { in read_from_ring()
46 str[recv] = hvc_data->intf->in[in_idx]; in read_from_ring()
47 recv++; in read_from_ring()
55 return recv; in read_from_ring()
/Zephyr-latest/subsys/net/l2/dummy/
Ddummy.c26 if (api->recv == NULL) { in dummy_recv()
30 return api->recv(iface, pkt); in dummy_recv()
/Zephyr-latest/samples/bluetooth/st_ble_sensor/src/
Dmain.c34 static ssize_t recv(struct bt_conn *conn,
98 BT_GATT_PERM_WRITE, NULL, recv, (void *)1),
104 static ssize_t recv(struct bt_conn *conn, in recv() function
/Zephyr-latest/include/zephyr/drivers/
Dbluetooth.h99 int (*open)(const struct device *dev, bt_hci_recv_t recv);
123 static inline int bt_hci_open(const struct device *dev, bt_hci_recv_t recv) in bt_hci_open() argument
127 return api->open(dev, recv); in bt_hci_open()
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap_broadcast_assistant.rst76 BASS discover done with 1 recv states
87 …BASS recv state: src_id 0, addr 11:22:33:44:55:66 (public), sid 5, sync_state 1, encrypt_state 000…
99 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 0, encrypt_state 0
102 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
104 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
116 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c24 bt_hci_recv_t recv; member
116 drv->recv(dev, evt); in cmd_handle()
218 static int driver_open(const struct device *dev, bt_hci_recv_t recv) in driver_open() argument
222 drv->recv = recv; in driver_open()
269 drv->recv(dev, data->buf); in bt_recv_job_cb()

1234567891011