Lines Matching full:vlan
39 static int setup_iface(struct net_if *iface, struct net_if *vlan, in setup_iface() argument
50 LOG_ERR("Cannot enable VLAN for tag %d (%d)", vlan_tag, ret); in setup_iface()
59 ifaddr = net_if_ipv6_addr_add(vlan, &addr6, in setup_iface()
63 ipv6_addr, vlan); in setup_iface()
71 if (!net_if_ipv6_prefix_add(vlan, &netaddr6, in setup_iface()
77 vlan); in setup_iface()
88 ifaddr = net_if_ipv4_addr_add(vlan, &addr4, in setup_iface()
92 ipv4_addr, vlan); in setup_iface()
104 net_if_ipv4_set_netmask_by_addr(vlan, &addr4, &nm); in setup_iface()
108 LOG_DBG("Interface %p VLAN tag %d setup done.", vlan, vlan_tag); in setup_iface()
147 /* Bring up the VLAN interface automatically */ in init_app()