Home
last modified time | relevance | path

Searched refs:brname (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c123 int linux_br_add(int sock, const char *brname) in linux_br_add() argument
125 if (ioctl(sock, SIOCBRADDBR, brname) < 0) { in linux_br_add()
129 brname, strerror(errno)); in linux_br_add()
138 int linux_br_del(int sock, const char *brname) in linux_br_del() argument
140 if (ioctl(sock, SIOCBRDELBR, brname) < 0) { in linux_br_del()
142 brname, strerror(errno)); in linux_br_del()
150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if() argument
160 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_add_if()
166 "%s: %s", ifname, brname, strerror(errno)); in linux_br_add_if()
175 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if() argument
[all …]
Dlinux_ioctl.h16 int linux_br_add(int sock, const char *brname);
17 int linux_br_del(int sock, const char *brname);
18 int linux_br_add_if(int sock, const char *brname, const char *ifname);
19 int linux_br_del_if(int sock, const char *brname, const char *ifname);
20 int linux_br_get(char *brname, const char *ifname);
Ddriver_nl80211.c1327 os_strlcpy(bss->brname, namebuf, IFNAMSIZ); in wpa_driver_nl80211_event_rtm_newlink()
2935 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit()
2939 bss->ifname, bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit()
2946 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit()
2950 bss->brname); in wpa_driver_nl80211_deinit()
2951 if (linux_br_del(drv->global->ioctl_sock, bss->brname) < 0) in wpa_driver_nl80211_deinit()
2954 bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit()
6723 bss->brname[0] && in wpa_driver_nl80211_set_mode_impl()
6727 bss->ifname, bss->brname); in wpa_driver_nl80211_set_mode_impl()
6729 bss->brname, bss->ifname) < 0) in wpa_driver_nl80211_set_mode_impl()
[all …]
Ddriver_nl80211.h58 char brname[IFNAMSIZ]; member
Ddriver_atheros.c1723 char brname[IFNAMSIZ]; in atheros_init() local
1765 } else if (linux_br_get(brname, drv->iface) == 0) { in atheros_init()
1767 "EAPOL receive", brname); in atheros_init()
1768 drv->sock_recv = l2_packet_init(brname, NULL, ETH_P_EAPOL, in atheros_init()