Lines Matching refs:vlan_interfaces
80 static struct net_if *vlan_interfaces[NET_VLAN_MAX_COUNT]; variable
374 vlan_interfaces[ud->vlan_if_count++] = iface; in iface_cb()
421 iface3 = vlan_interfaces[0]; /* and this is the virtual VLAN interface */ in test_address_setup()
594 zassert_equal_ptr(iface, vlan_interfaces[0], in test_vlan_enable()
596 VLAN_TAG_1, iface, vlan_interfaces[0]); in test_vlan_enable()
599 zassert_equal_ptr(iface, vlan_interfaces[1], in test_vlan_enable()
601 VLAN_TAG_2, iface, vlan_interfaces[1]); in test_vlan_enable()
604 zassert_equal_ptr(iface, vlan_interfaces[2], in test_vlan_enable()
606 VLAN_TAG_3, iface, vlan_interfaces[2]); in test_vlan_enable()
609 zassert_equal_ptr(iface, vlan_interfaces[3], in test_vlan_enable()
611 VLAN_TAG_4, iface, vlan_interfaces[3]); in test_vlan_enable()
631 ARRAY_FOR_EACH_PTR(vlan_interfaces, vlan_iface) { in test_vlan_enable()
669 ret = net_eth_vlan_disable(vlan_interfaces[3], VLAN_TAG_4); in test_vlan_disable()
752 ret = net_eth_is_vlan_enabled(eth_ctx, vlan_interfaces[0]); in test_vlan_disable_all()
755 ret = net_eth_is_vlan_enabled(eth_ctx, vlan_interfaces[1]); in test_vlan_disable_all()
758 ret = net_eth_is_vlan_enabled(eth_ctx, vlan_interfaces[2]); in test_vlan_disable_all()
761 ret = net_eth_is_vlan_enabled(eth_ctx, vlan_interfaces[3]); in test_vlan_disable_all()
861 net_if_up(vlan_interfaces[0]); in ZTEST()