Home
last modified time | relevance | path

Searched refs:net_recv_data (Results 1 – 25 of 87) sorted by relevance

1234

/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c477 if (net_recv_data(iface_1, pkt1) < 0) { in test_route_mcast_scenario1()
498 if (net_recv_data(iface_3, pkt2) < 0) { in test_route_mcast_scenario1()
539 if (net_recv_data(iface_1, pkt) < 0) { in test_route_mcast_scenario2()
557 if (net_recv_data(iface_3, pkt2) < 0) { in test_route_mcast_scenario2()
595 if (net_recv_data(iface_3, pkt) < 0) { in test_route_mcast_scenario3()
615 if (net_recv_data(iface_3, pkt2) < 0) { in test_route_mcast_scenario3()
637 if (net_recv_data(iface_3, pkt3) < 0) { in test_route_mcast_scenario3()
681 if (net_recv_data(iface_3, pkt) < 0) { in test_route_mcast_multiple_route_ifaces()
707 if (net_recv_data(iface_3, pkt2) < 0) { in test_route_mcast_multiple_route_ifaces()
730 if (net_recv_data(iface_3, pkt3) < 0) { in test_route_mcast_multiple_route_ifaces()
/Zephyr-latest/drivers/ethernet/
Deth_raw.c32 __weak int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data() function
Deth_stellaris.c217 if (net_recv_data(iface, pkt) < 0) { in eth_stellaris_rx()
Deth_litex_liteeth.c153 r = net_recv_data(context->iface, pkt); in eth_rx()
Deth_nxp_imx_netc.c74 ret = net_recv_data(data->iface, pkt); in netc_eth_rx()
Deth_nxp_s32_netc.c226 res = net_recv_data(get_iface(ctx), pkt); in nxp_s32_eth_rx()
Deth_esp32.c151 if (net_recv_data(dev_data->iface, pkt) < 0) { in eth_esp32_rx_thread()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_core.rst14 data from the network. The ``net_recv_data()`` is typically used by network
/Zephyr-latest/include/zephyr/net/
Dnet_core.h123 int net_recv_data(struct net_if *iface, struct net_pkt *pkt);
/Zephyr-latest/tests/net/tcp/src/
Dmain.c575 ret = net_recv_data(net_iface, reply); in handle_client_test()
755 ret = net_recv_data(net_iface, reply); in handle_server_test()
1088 ret = net_recv_data(net_iface, reply); in handle_syn_rst_ack()
1180 ret = net_recv_data(net_iface, reply); in handle_client_fin_wait_2_test()
1309 ret = net_recv_data(net_iface, reply); in handle_client_fin_wait_2_failure_test()
1473 ret = net_recv_data(net_iface, reply); in handle_data_fin1_test()
1595 ret = net_recv_data(net_iface, reply); in handle_data_during_fin1_test()
1705 ret = net_recv_data(net_iface, reply); in handle_client_closing_test()
1834 ret = net_recv_data(net_iface, reply); in handle_client_closing_failure_test()
1960 ret = net_recv_data(net_iface, reply); in check_rst_fail()
[all …]
/Zephyr-latest/subsys/usb/device/class/netusb/
Dnetusb.c57 if (net_recv_data(netusb.iface, pkt) < 0) { in netusb_recv()
/Zephyr-latest/drivers/net/
Dloopback.c154 res = net_recv_data(net_pkt_iface(cloned), cloned); in loopback_send()
Dcanbus.c52 ret = net_recv_data(ctx->iface, pkt); in net_canbus_recv()
Dslip.c180 if (net_recv_data(get_iface(slip, vlan_tag), pkt) < 0) { in process_msg()
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/
Dmain.c45 ret = net_recv_data(net_pkt_iface(recv_pkt), recv_pkt); in fake_dev_send()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c222 if (net_recv_data(net_iface, pkt) < 0) { in create_and_receive_packet()
301 if (net_recv_data(net_iface, pkt) < 0) { in ZTEST()
406 if (net_recv_data(net_iface, pkt) < 0) { in ZTEST()
Dieee802154_test.c867 if (net_recv_data(net_iface, pkt)) { in test_dgram_packet_reception()
1018 if (net_recv_data(net_iface, pkt)) { in test_raw_packet_reception()
1136 if (net_recv_data(net_iface, rx_pkt) < 0) { in test_recv_and_send_ack_reply()
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c112 ret = net_recv_data(iface, rx_pkt); in ZTEST()
/Zephyr-latest/subsys/net/ip/
Dnet_core.c491 int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data() function
571 int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data() function
/Zephyr-latest/tests/net/route/src/
Dmain.c149 if (net_recv_data(recipient, pkt) < 0) { in tester_send()
186 if (net_recv_data(recipient, pkt) < 0) { in tester_send_peer()
/Zephyr-latest/tests/net/udp/src/
Dmain.c255 ret = net_recv_data(iface, pkt); in send_ipv6_udp_msg()
324 ret = net_recv_data(iface, pkt); in send_ipv6_udp_long_msg()
372 ret = net_recv_data(iface, pkt); in send_ipv4_udp_msg()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c288 zassert_ok((net_recv_data(iface, pkt)), "Data receive for NA failed."); in inject_na_message()
366 if (net_recv_data(net_pkt_iface(pkt), in tester_send()
719 zassert_false((net_recv_data(iface, pkt) < 0), in ZTEST()
742 zassert_false((net_recv_data(iface, pkt) < 0), in ZTEST()
1046 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
1098 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
1158 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
1320 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
/Zephyr-latest/tests/net/icmp/src/
Dmain.c110 (void)net_recv_data(recv_ctx.iface, send_pkt); in test_sender()
125 (void)net_recv_data(send_ctx.iface, send_pkt); in test_receiver()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_uart_pipe.c156 if (net_recv_data(upipe->iface, pkt) < 0) { in upipe_rx()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c359 ret = net_recv_data(iface, *pkt); in _recv_data()

1234