Lines Matching refs:ifa

285 static void cycle_ready_ifaces(struct net_if *ifa, struct net_if *ifb)  in cycle_ready_ifaces()  argument
290 net_if_ipv4_addr_add(ifa, &test_ipv4_a, NET_ADDR_MANUAL, 0); in cycle_ready_ifaces()
300 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ready_ifaces()
309 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ready_ifaces()
321 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ready_ifaces()
353 static void cycle_ignored_iface(struct net_if *ifa, struct net_if *ifb) in cycle_ignored_iface() argument
362 net_if_ipv4_addr_add(ifa, &test_ipv4_a, NET_ADDR_MANUAL, 0); in cycle_ignored_iface()
364 net_if_ipv6_addr_add(ifa, &test_ipv6_a, NET_ADDR_MANUAL, 0); in cycle_ignored_iface()
399 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ignored_iface()
419 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
420 zassert_equal(stats.conn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
421 zassert_equal(stats.conn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
450 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ignored_iface()
470 zassert_equal(stats.dconn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
471 zassert_equal(stats.dconn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
472 zassert_equal(stats.dconn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
491 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ignored_iface()
511 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
512 zassert_equal(stats.conn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
513 zassert_equal(stats.conn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()
543 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ignored_iface()
563 zassert_equal(stats.dconn_iface_gen, ifa, "ifa should be blamed."); in cycle_ignored_iface()
564 zassert_equal(stats.dconn_iface_ipv4, ifa, "ifa should be blamed."); in cycle_ignored_iface()
565 zassert_equal(stats.dconn_iface_ipv6, ifa, "ifa should be blamed."); in cycle_ignored_iface()