Home
last modified time | relevance | path

Searched refs:net_if_down (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c132 net_if_down(NET_IF_GET(sock_offload_test_impl, 0)); in net_offloaded_netdev_before()
133 net_if_down(NET_IF_GET(sock_offload_test_no_impl, 0)); in net_offloaded_netdev_before()
134 net_if_down(NET_IF_GET(net_offload_test_impl, 0)); in net_offloaded_netdev_before()
135 net_if_down(NET_IF_GET(net_offload_test_impl, 0)); in net_offloaded_netdev_before()
162 (void)net_if_down(test_iface); in ZTEST()
193 (void)net_if_down(test_iface); in ZTEST()
224 (void)net_if_down(test_iface); in ZTEST()
255 (void)net_if_down(test_iface); in ZTEST()
287 (void)net_if_down(test_iface); in ZTEST()
288 (void)net_if_down(test_iface); in ZTEST()
[all …]
/Zephyr-latest/tests/net/conn_mgr_monitor/src/
Dmain.c69 (void)net_if_down(iface); in reset_test_iface()
321 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ready_ifaces()
330 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ready_ifaces()
386 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ignored_iface()
437 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ignored_iface()
450 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ignored_iface()
516 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ignored_iface()
543 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ignored_iface()
568 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ignored_iface()
820 zassert_equal(net_if_down(iface), 0, "net_if_down should succeed."); in cycle_iface_states()
[all …]
/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c41 (void)net_if_down(iface); in reset_test_iface_networking()
917 zassert_equal(net_if_down(ifa1), 0, "net_if_down should not fail."); in ZTEST()
1171 zassert_equal(net_if_down(ifa1), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1172 zassert_equal(net_if_down(ifa2), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1173 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1174 zassert_equal(net_if_down(ifni), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1175 zassert_equal(net_if_down(ifnull), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1176 zassert_equal(net_if_down(ifnone), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1226 zassert_equal(net_if_down(ifa1), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
1227 zassert_equal(net_if_down(ifa2), 0, "net_if_down should succeed for all ifaces."); in ZTEST()
[all …]
/Zephyr-latest/tests/net/iface/src/
Dmain.c485 net_if_down(iface1); in iface_teardown()
486 net_if_down(iface2); in iface_teardown()
487 net_if_down(iface3); in iface_teardown()
488 net_if_down(iface4); in iface_teardown()
493 net_if_down(iface); in test_iface_init()
567 net_if_down(iface1); in ZTEST()
646 net_if_down(iface1); in send_iface1_down()
/Zephyr-latest/subsys/net/conn_mgr/
Dconn_mgr_connectivity.c291 net_if_down(iface); in conn_mgr_conn_if_auto_admin_down()
453 status = net_if_down(iface); in conn_mgr_conn_all_if_cb()
DKconfig39 bool "Automatically call net_if_down on ifaces that have given up on connecting"
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c128 ret = net_if_down(iface); in ZTEST()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_if.rst26 by calling ``net_if_down()``. When the device is powered ON, the network
69 changed by calling :c:func:`net_if_up` or :c:func:`net_if_down` functions.
/Zephyr-latest/tests/net/virtual/src/
Dmain.c351 net_if_down(iface); in iface_cb()
612 ret = net_if_down(eth_interfaces[0]); in ZTEST()
669 ret = net_if_down(iface); in ZTEST()
724 ret = net_if_down(iface); in ZTEST()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c455 net_if_down(iface); in iface_cb()
1124 net_if_down(eth_interfaces[0]); in ZTEST()
1127 net_if_down(vlan_interfaces[0]); in ZTEST()
/Zephyr-latest/samples/net/cellular_modem/src/
Dmain.c391 ret = net_if_down(iface); in main()
/Zephyr-latest/subsys/net/l2/virtual/
Dvirtual.c222 net_if_down(virtual_iface); in net_virtual_interface_attach()
/Zephyr-latest/tests/net/bridge/src/
Dmain.c371 ret = net_if_down(bridge); in test_recv_after_bridging()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c339 net_if_down(iface); in iface_cb()
/Zephyr-latest/tests/net/mld/src/
Dmain.c218 zassert_ok(net_if_down(net_iface), "Failed to bring iface down"); in test_iface_down_up()
225 zassert_ok(net_if_down(net_iface), "Failed to bring iface down"); in test_iface_down_up_delayed_carrier()
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c328 net_if_down(iface); in iface_cb()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c682 ret = net_if_down(iface); in cmd_net_iface_down()
Dcm.c766 net_if_down(target.iface); in cmd_net_cm_down()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c506 net_if_down(ctx->tunnel_iface); in capture_disable()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c1092 net_if_down(test_ctx.iface); in ZTEST()
1162 net_if_down(test_ctx.iface); in ZTEST()
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c613 net_if_down(iface); in change_mac_when_down()
1360 net_if_down(iface); in ZTEST()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c399 zassert_ok(net_if_down(TEST_NET_IF), "Failed to bring iface down"); in test_iface_down_up()
406 zassert_ok(net_if_down(TEST_NET_IF), "Failed to bring iface down"); in test_iface_down_up_delayed_carrier()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c144 ret = net_if_down(vif_ctx_zep->zep_net_if_ctx); in nrf_wifi_rpu_recovery_work_handler()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c526 net_if_down(iface); in iface_cb()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h2948 int net_if_down(struct net_if *iface);

12