Lines Matching refs:eth_ctx
578 struct ethernet_context *eth_ctx; in test_vlan_enable() local
591 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_enable()
613 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable()
616 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_enable()
653 struct ethernet_context *eth_ctx; in test_vlan_disable() local
672 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_disable()
680 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_disable()
683 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[1]); in test_vlan_disable()
698 struct ethernet_context *eth_ctx; in test_vlan_enable_all() local
711 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_enable_all()
713 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable_all()
716 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable_all()
719 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable_all()
722 ret = net_eth_is_vlan_enabled(eth_ctx, eth_interfaces[0]); in test_vlan_enable_all()
737 struct ethernet_context *eth_ctx; in test_vlan_disable_all() local
750 eth_ctx = net_if_l2_data(eth_interfaces[0]); in test_vlan_disable_all()
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()