Lines Matching refs:ifname
32 vlan->ifname); in vlan_if_add()
36 if (!iface_exists(vlan->ifname)) in vlan_if_add()
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname); in vlan_if_add()
46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */ in vlan_if_add()
57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname); in vlan_if_add()
60 if (hostapd_vlan_if_remove(hapd, vlan->ifname)) in vlan_if_add()
61 wpa_printf(MSG_ERROR, "Removal of %s failed", vlan->ifname); in vlan_if_add()
77 return hostapd_vlan_if_remove(hapd, vlan->ifname); in vlan_if_remove()
89 vlan->ifname, strerror(errno)); in vlan_dynamic_add()
93 vlan_newlink(vlan->ifname, hapd); in vlan_dynamic_add()
115 vlan_dellink(vlan->ifname, hapd); in vlan_dynamic_remove()
121 vlan->ifname, strerror(errno)); in vlan_dynamic_remove()
151 ret = os_snprintf(vlan->ifname, sizeof(vlan->ifname), "%s.#", in vlan_init()
153 if (ret >= (int) sizeof(vlan->ifname)) { in vlan_init()
156 vlan->ifname); in vlan_init()
189 char ifname[IFNAMSIZ + 1], *pos; in vlan_add_dynamic() local
196 __func__, vlan_id, vlan->ifname); in vlan_add_dynamic()
197 os_strlcpy(ifname, vlan->ifname, sizeof(ifname)); in vlan_add_dynamic()
198 pos = os_strchr(ifname, '#'); in vlan_add_dynamic()
212 ret = os_snprintf(n->ifname, sizeof(n->ifname), "%s%d%s", in vlan_add_dynamic()
213 ifname, vlan_id, pos); in vlan_add_dynamic()
214 if (os_snprintf_error(sizeof(n->ifname), ret)) { in vlan_add_dynamic()
259 vlan_dellink(vlan->ifname, hapd); in vlan_remove_dynamic()