Home
last modified time | relevance | path

Searched refs:net_if_is_up (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c209 zassert_false(net_if_is_up(ifa1), "Ifaces must be disconnected before test"); in ZTEST()
210 zassert_false(net_if_is_up(ifa2), "Ifaces must be disconnected before test"); in ZTEST()
211 zassert_false(net_if_is_up(ifb), "Ifaces must be disconnected before test"); in ZTEST()
218 zassert_true(net_if_is_up(ifa1), "ifa1 should be oper-up after conn_mgr_if_connect"); in ZTEST()
219 zassert_false(net_if_is_up(ifa2), "ifa2 should not be affected by ifa1"); in ZTEST()
220 zassert_false(net_if_is_up(ifb), "ifb should not be affected by ifa1"); in ZTEST()
240 zassert_true(net_if_is_up(ifa1), "ifa1 should still be connected"); in ZTEST()
241 zassert_false(net_if_is_up(ifa2), "ifa2 should not be affected by ifb"); in ZTEST()
242 zassert_true(net_if_is_up(ifb), "ifb should be oper-up after conn_mgr_if_connect"); in ZTEST()
262 zassert_true(net_if_is_up(ifa1), "ifa1 should still be connected"); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/l2/virtual/
Dvirtual_mgmt.c40 if (net_if_is_up(iface)) { in virtual_interface_set_config()
50 if (net_if_is_up(iface)) { in virtual_interface_set_config()
Dvirtual.c43 if (!net_if_is_up(ctx->virtual_iface)) { in virtual_recv()
87 if (!net_if_is_up(iface)) { in virtual_send()
128 if (net_if_is_up(ctx->iface)) { in virtual_enable()
/Zephyr-latest/tests/net/iface/src/
Dmain.c514 zassert_false(net_if_is_up(iface1), "Interface should be down"); in ZTEST()
520 zassert_true(net_if_is_up(iface1), "Interface should be up"); in ZTEST()
526 zassert_false(net_if_is_up(iface1), "Interface should be down"); in ZTEST()
532 zassert_true(net_if_is_up(iface1), "Interface should be up"); in ZTEST()
538 zassert_true(net_if_is_up(iface1), "Interface should be up"); in ZTEST()
544 zassert_false(net_if_is_up(iface1), "Interface should be down"); in ZTEST()
550 zassert_true(net_if_is_up(iface1), "Interface should be up"); in ZTEST()
556 zassert_false(net_if_is_up(iface1), "Interface should be down"); in ZTEST()
562 zassert_true(net_if_is_up(iface1), "Interface should be up"); in ZTEST()
568 zassert_false(net_if_is_up(iface1), "Interface should be down"); in ZTEST()
[all …]
/Zephyr-latest/tests/net/virtual/src/
Dmain.c566 zassert_false(net_if_is_up(iface), in ZTEST()
581 zassert_false(net_if_is_up(iface), "Virtual interface %d is still up", in ZTEST()
598 zassert_false(net_if_is_up(iface), in ZTEST()
606 zassert_true(net_if_is_up(iface), in ZTEST()
609 zassert_true(net_if_is_up(eth_interfaces[0]), in ZTEST()
618 zassert_false(net_if_is_up(iface), in ZTEST()
635 zassert_true(net_if_is_up(iface), in ZTEST()
649 zassert_false(net_if_is_up(iface), "Virtual interface %d is still up", in ZTEST()
/Zephyr-latest/samples/boards/nxp/s32/netc/src/
Dmain.c83 if (net_if_is_up(iface)) { in wait_for_iface()
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet_mgmt.c93 if (net_if_is_up(iface)) { in ethernet_set_config()
182 if (net_if_is_up(iface)) { in ethernet_set_config()
197 if (net_if_is_up(iface)) { in ethernet_set_config()
Dbridge_shell.c121 if (net_if_is_up(ctx->iface)) { in bridge_show()
Darp.c577 if (!net_if_is_up(iface)) { in ipv4_event_handler()
603 if (!net_if_is_up(iface)) { in iface_cb()
/Zephyr-latest/samples/net/sockets/packet/src/
Dpacket.c244 if (net_if_is_up(iface)) { in wait_for_interface()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c204 if (!net_if_is_up(iface)) { in iface_cb()
646 if (net_if_is_up(iface)) { in cmd_net_iface_up()
/Zephyr-latest/subsys/net/conn_mgr/
Dconn_mgr_monitor.c228 if (net_if_is_up(iface)) { in conn_mgr_mon_initial_state()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c275 if (net_if_is_up(iface)) { in smp_udp_open_iface()
/Zephyr-latest/subsys/net/ip/
Dipv6_mld.c234 if (!net_if_is_up(iface)) { in net_ipv6_mld_join()
Dnet_if.c1286 if (net_if_is_up(iface)) { in net_if_ipv6_start_dad()
4221 if (net_if_is_up(iface)) { in net_if_ipv4_start_acd()
Dnet_context.c2467 if (iface && !net_if_is_up(iface)) { in context_sendto()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c379 if (net_if_is_up(iface)) { in check_interface()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix.c261 if (net_if_is_up(ctx->iface)) { in eth_rx()
/Zephyr-latest/subsys/net/lib/dns/
Dmdns_responder.c633 if (!net_if_is_up(iface)) { in iface_ipv4_cb()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h2866 static inline bool net_if_is_up(struct net_if *iface) in net_if_is_up() function
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c787 if (!net_if_is_up(iface)) { in dhcpv4_manage_timers()
/Zephyr-latest/drivers/modem/
Dhl7800.c1925 } else if (iface_ctx.iface && net_if_is_up(iface_ctx.iface) && !iface_ctx.dns_ready) { in dns_work_cb()
3370 if ((iface_ctx.iface && !net_if_is_up(iface_ctx.iface)) || in iface_status_work_cb()
3374 } else if (iface_ctx.iface && net_if_is_up(iface_ctx.iface)) { in iface_status_work_cb()
/Zephyr-latest/subsys/net/lib/ptp/
Dport.c877 while (!net_if_is_up(port->iface)) { in port_enable()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c1894 if (!net_if_is_up(iface)) { in dhcpv6_manage_timers()