Home
last modified time | relevance | path

Searched refs:ifb (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c125 reset_test_iface_networking(ifb); in conn_mgr_conn_before()
135 reset_test_iface_state(ifb); in conn_mgr_conn_before()
176 struct test_conn_data *ifb_data = conn_mgr_if_get_data(ifb); in ZTEST()
200 struct test_conn_data *ifb_data = conn_mgr_if_get_data(ifb); in ZTEST()
205 zassert_equal(net_if_up(ifb), 0, "net_if_up should not fail"); in ZTEST()
211 zassert_false(net_if_is_up(ifb), "Ifaces must be disconnected before test"); in ZTEST()
220 zassert_false(net_if_is_up(ifb), "ifb should not be affected by ifa1"); in ZTEST()
236 zassert_equal(conn_mgr_if_connect(ifb), 0, "conn_mgr_if_connect should not fail"); in ZTEST()
242 zassert_true(net_if_is_up(ifb), "ifb should be oper-up after conn_mgr_if_connect"); in ZTEST()
264 zassert_true(net_if_is_up(ifb), "ifb should still be connected"); in ZTEST()
[all …]
Dtest_ifaces.h20 extern struct net_if *ifb;
Dtest_ifaces.c116 struct net_if *ifb = NET_IF_GET(test_iface_b, 0); variable
/Zephyr-latest/tests/net/conn_mgr_monitor/src/
Dmain.c285 static void cycle_ready_ifaces(struct net_if *ifa, struct net_if *ifb) in cycle_ready_ifaces() argument
291 net_if_ipv4_addr_add(ifb, &test_ipv4_b, NET_ADDR_MANUAL, 0); in cycle_ready_ifaces()
312 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ready_ifaces()
330 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ready_ifaces()
339 zassert_equal(stats.dconn_iface_gen, ifb, "ifb should be blamed."); in cycle_ready_ifaces()
353 static void cycle_ignored_iface(struct net_if *ifa, struct net_if *ifb) in cycle_ignored_iface() argument
359 conn_mgr_ignore_iface(ifb); in cycle_ignored_iface()
363 net_if_ipv4_addr_add(ifb, &test_ipv4_b, NET_ADDR_MANUAL, 0); in cycle_ignored_iface()
365 net_if_ipv6_addr_add(ifb, &test_ipv6_b, NET_ADDR_MANUAL, 0); in cycle_ignored_iface()
370 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ignored_iface()
[all …]