Lines Matching refs:if_name
120 static int ifconfig_down(const char *if_name) in ifconfig_down() argument
122 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); in ifconfig_down()
123 return ifconfig_helper(if_name, 0); in ifconfig_down()
133 static int br_delif(const char *br_name, const char *if_name) in br_delif() argument
140 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name); in br_delif()
147 if (linux_br_del_if(fd, br_name, if_name) == 0) in br_delif()
150 if_index = if_nametoindex(if_name); in br_delif()
155 __func__, if_name); in br_delif()
170 "%s", __func__, br_name, if_name, strerror(errno)); in br_delif()
188 static int br_addif(const char *br_name, const char *if_name) in br_addif() argument
195 wpa_printf(MSG_DEBUG, "VLAN: br_addif(%s, %s)", br_name, if_name); in br_addif()
202 if (linux_br_add_if(fd, br_name, if_name) == 0) in br_addif()
210 if_index = if_nametoindex(if_name); in br_addif()
215 __func__, if_name); in br_addif()
235 "%s", __func__, br_name, if_name, strerror(errno)); in br_addif()