Home
last modified time | relevance | path

Searched refs:net_if_up (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c203 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
204 zassert_equal(net_if_up(ifa2), 0, "net_if_up should not fail"); in ZTEST()
205 zassert_equal(net_if_up(ifb), 0, "net_if_up should not fail"); in ZTEST()
355 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
405 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
480 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for ifnull"); in ZTEST()
481 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for ifnone"); in ZTEST()
498 zassert_equal(net_if_up(ifnull), 0, "net_if_up should succeed for ifnull"); in ZTEST()
499 zassert_equal(net_if_up(ifnone), 0, "net_if_up should succeed for ifnone"); in ZTEST()
519 zassert_equal(net_if_up(ifa1), 0, in ZTEST()
[all …]
/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c151 (void)net_if_up(test_iface); in ZTEST()
182 (void)net_if_up(test_iface); in ZTEST()
213 (void)net_if_up(test_iface); in ZTEST()
244 (void)net_if_up(test_iface); in ZTEST()
275 (void)net_if_up(test_iface); in ZTEST()
276 (void)net_if_up(test_iface); in ZTEST()
311 zassert_equal(net_if_up(test_iface), -E2BIG, in ZTEST()
324 (void) net_if_up(test_iface); in ZTEST()
346 (void)net_if_up(test_iface); in test_addr_add_common()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dvlan.c115 net_if_up(ud.first); in init_vlan()
116 net_if_up(ud.second); in init_vlan()
/Zephyr-latest/samples/net/mdns_responder/src/
Dvlan.c141 net_if_up(user_data.first); in init_vlan()
142 net_if_up(user_data.second); in init_vlan()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dvlan.c135 net_if_up(ud.first); in init_vlan()
136 net_if_up(ud.second); in init_vlan()
/Zephyr-latest/tests/net/bridge/src/
Dmain.c226 net_if_up(fake_iface[0]); in test_iface_setup()
227 net_if_up(fake_iface[1]); in test_iface_setup()
228 net_if_up(fake_iface[2]); in test_iface_setup()
318 ret = net_if_up(bridge); in test_setup_bridge()
383 ret = net_if_up(bridge); in test_recv_after_bridging()
/Zephyr-latest/tests/net/conn_mgr_monitor/src/
Dmain.c300 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ready_ifaces()
312 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ready_ifaces()
370 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ignored_iface()
399 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ignored_iface()
424 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ignored_iface()
478 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ignored_iface()
491 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ignored_iface()
530 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ignored_iface()
623 zassert_equal(net_if_up(iface), 0, "net_if_up should succeed."); in cycle_iface_states()
863 zassert_equal(net_if_up(iface), 0, "net_if_up should succeed."); in cycle_iface_states()
[all …]
/Zephyr-latest/samples/net/vlan/src/
Dmain.c148 net_if_up(ud.first); in init_app()
149 net_if_up(ud.second); in init_app()
/Zephyr-latest/samples/net/lldp/src/
Dmain.c137 net_if_up(ud.first); in init_vlan()
138 net_if_up(ud.second); in init_vlan()
/Zephyr-latest/subsys/net/lib/config/
Dieee802154_settings.c76 net_if_up(iface); in z_net_config_ieee802154_setup()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c444 net_if_up(eth); in test_address_setup()
445 net_if_up(dummy1); in test_address_setup()
446 net_if_up(dummy2); in test_address_setup()
570 ret = net_if_up(iface); in ZTEST()
602 ret = net_if_up(iface); in ZTEST()
631 ret = net_if_up(eth_interfaces[0]); in ZTEST()
660 ret = net_if_up(iface); in ZTEST()
705 ret = net_if_up(iface); in ZTEST()
860 ret = net_if_up(iface); in ZTEST()
/Zephyr-latest/tests/net/iface/src/
Dmain.c369 ret = net_if_up(iface1); in iface_setup()
384 ret = net_if_up(iface1); in iface_setup()
461 net_if_up(iface1); in iface_setup()
462 net_if_up(iface2); in iface_setup()
463 net_if_up(iface3); in iface_setup()
464 net_if_up(iface4); in iface_setup()
507 net_if_up(iface); in test_iface_init()
573 net_if_up(iface1); in ZTEST()
659 net_if_up(iface1); in send_iface1_up()
/Zephyr-latest/subsys/net/l2/virtual/
Dvirtual.c137 net_if_up(ctx->iface); in virtual_enable()
143 net_if_up(ctx->iface); in virtual_enable()
272 net_if_up(virtual_iface); in net_virtual_interface_attach()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c468 net_if_up(iface1); in test_address_setup()
469 net_if_up(iface2); in test_address_setup()
860 net_if_up(eth_interfaces[0]); in ZTEST()
861 net_if_up(vlan_interfaces[0]); in ZTEST()
925 net_if_up(embed_ll_interface); in ZTEST()
926 net_if_up(iface); in ZTEST()
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c405 net_if_up(iface1); in test_address_setup()
406 net_if_up(iface2); in test_address_setup()
407 net_if_up(iface3); in test_address_setup()
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/
Dmain.c106 net_if_up(iface); in test_setup()
/Zephyr-latest/subsys/net/conn_mgr/
Dconn_mgr_connectivity.c38 status = net_if_up(iface); in conn_mgr_if_connect()
445 status = net_if_up(iface); in conn_mgr_conn_all_if_cb()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c273 net_if_up(iface1); in test_iface_setup()
274 net_if_up(iface2); in test_iface_setup()
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c132 ret = net_if_up(iface); in ZTEST()
/Zephyr-latest/tests/net/lib/dns_dispatcher/src/
Dmain.c170 net_if_up(iface1); in test_init()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c390 net_if_up(iface1); in test_address_setup()
391 net_if_up(iface2); in test_address_setup()
/Zephyr-latest/tests/net/pm/src/
Dmain.c112 net_if_up(iface); in test_setup()
/Zephyr-latest/samples/net/capture/src/
Dmain.c269 ret = net_if_up(net_if_get_by_index(ifindex)); in init_app()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_if.rst25 The network interface can be turned ON by calling ``net_if_up()`` and OFF
69 changed by calling :c:func:`net_if_up` or :c:func:`net_if_down` functions.
/Zephyr-latest/drivers/ieee802154/
DKconfig23 When all configurations are done net_if_up() has to be invoked to

12