Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 10 of 10) sorted by relevance

/hostap-3.6.0/src/ap/
Dvlan_ioctl.c19 int vlan_rem(const char *if_name) in vlan_rem() argument
24 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(%s)", if_name); in vlan_rem()
25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem()
27 if_name); in vlan_rem()
39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem()
44 "%s", __func__, if_name, strerror(errno)); in vlan_rem()
62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument
68 if_name, vid); in vlan_add()
69 ifconfig_up(if_name); in vlan_add()
71 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add()
[all …]
Dvlan_util.c24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument
32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); in vlan_add()
34 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add()
36 if_name); in vlan_add()
59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); in vlan_add()
63 if_name); in vlan_add()
108 vlan_if_name, vid, if_name, if_idx, in vlan_add()
124 int vlan_rem(const char *if_name) in vlan_rem() argument
130 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(if_name=%s)", if_name); in vlan_rem()
145 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); in vlan_rem()
[all …]
Dvlan_ifconfig.c19 int ifconfig_helper(const char *if_name, int up) in ifconfig_helper() argument
31 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper()
36 __func__, if_name, strerror(errno)); in ifconfig_helper()
49 __func__, if_name, up, strerror(errno)); in ifconfig_helper()
59 int ifconfig_up(const char *if_name) in ifconfig_up() argument
61 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); in ifconfig_up()
62 return ifconfig_helper(if_name, 1); in ifconfig_up()
Dvlan_util.h16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
17 int vlan_rem(const char *if_name);
20 int ifconfig_helper(const char *if_name, int up);
21 int ifconfig_up(const char *if_name);
Dvlan_full.c120 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
[all …]
/hostap-3.6.0/hostapd/
Dmain.c257 hostapd_interface_init(struct hapd_interfaces *interfaces, const char *if_name, in hostapd_interface_init() argument
268 if (if_name) { in hostapd_interface_init()
269 os_strlcpy(iface->conf->bss[0]->iface, if_name, in hostapd_interface_init()
561 char *if_name, *tmp, **nnames; in hostapd_get_interface_names() local
566 if_name = strtok_r(arg, ",", &tmp); in hostapd_get_interface_names()
568 while (if_name) { in hostapd_get_interface_names()
575 (*if_names)[*if_names_size] = os_strdup(if_name); in hostapd_get_interface_names()
579 if_name = strtok_r(NULL, ",", &tmp); in hostapd_get_interface_names()
821 char *if_name = NULL; in main() local
824 if_name = if_names[i]; in main()
[all …]
/hostap-3.6.0/src/pae/
Dieee802_1x_kay.h208 char if_name[IFNAMSIZ]; member
Dieee802_1x_kay.c2502 kay->if_name); in ieee802_1x_participant_send_mkpdu()
2559 kay->if_name); in ieee802_1x_participant_timer()
3225 kay->if_name); in ieee802_1x_kay_decode_mkpdu()
3492 os_strlcpy(kay->if_name, ifname, IFNAMSIZ); in ieee802_1x_kay_init()
3565 kay->l2_mka = l2_packet_init(kay->if_name, NULL, ETH_P_PAE, in ieee802_1x_kay_init()
3642 kay->if_name, mode_txt(mode), yes_no(is_authenticator)); in ieee802_1x_kay_create_mka()
/hostap-3.6.0/tests/hwsim/
Dfst_module_aux.py251 if_name = ifname if ifname is not None else self.iface
252 return self.grequest("FST-MANAGER TEST_REQUEST GET_LOCAL_MBIES " + if_name)
/hostap-3.6.0/wpa_supplicant/
Dwpa_supplicant.c7076 for (ifi = ifp; ifi->if_name; ifi++) { in wpa_supplicant_match_existing()
7077 wpa_s = wpa_supplicant_get_iface(global, ifi->if_name); in wpa_supplicant_match_existing()
7080 iface = wpa_supplicant_match_iface(global, ifi->if_name); in wpa_supplicant_match_existing()