Lines Matching refs:net_iface
70 static struct net_if *net_iface; variable
284 net_iface = net_if_get_first_by_type(&NET_L2_GET_NAME(DUMMY)); in igmp_setup()
286 zassert_not_null(net_iface, "Interface is NULL"); in igmp_setup()
288 ifaddr = net_if_ipv4_addr_add(net_iface, &my_addr, NET_ADDR_MANUAL, 0); in igmp_setup()
305 net_iface = net_if_get_first_by_type(&NET_L2_GET_NAME(DUMMY)); in igmp_teardown()
307 net_if_ipv4_addr_rm(net_iface, &my_addr); in igmp_teardown()
332 ret = net_ipv4_igmp_join(net_iface, &mcast_addr, NULL); in join_group()
349 ret = net_ipv4_igmp_leave(net_iface, &mcast_addr); in leave_group()
596 pkt = prepare_igmp_query(net_iface, is_imgpv3); in igmp_send_query()
636 net_if_carrier_off(net_iface); in ZTEST_USER()
637 net_if_carrier_on(net_iface); in ZTEST_USER()