/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | linux_ioctl.c | 123 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 …]
|
D | linux_ioctl.h | 16 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);
|
D | driver_nl80211.c | 1359 os_strlcpy(bss->brname, namebuf, IFNAMSIZ); in wpa_driver_nl80211_event_rtm_newlink() 2994 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2998 bss->ifname, bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit() 3005 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 3009 bss->brname); in wpa_driver_nl80211_deinit() 3010 if (linux_br_del(drv->global->ioctl_sock, bss->brname) < 0) in wpa_driver_nl80211_deinit() 3013 bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit() 6741 bss->brname[0] && in wpa_driver_nl80211_set_mode_impl() 6745 bss->ifname, bss->brname); in wpa_driver_nl80211_set_mode_impl() 6747 bss->brname, bss->ifname) < 0) in wpa_driver_nl80211_set_mode_impl() [all …]
|
D | driver_nl80211.h | 59 char brname[IFNAMSIZ]; member
|
D | driver_atheros.c | 1723 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | linux_ioctl.c | 123 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 …]
|
D | linux_ioctl.h | 16 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);
|
D | driver_nl80211.c | 1213 os_strlcpy(bss->brname, namebuf, IFNAMSIZ); in wpa_driver_nl80211_event_rtm_newlink() 2756 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2760 bss->ifname, bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit() 2767 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2771 bss->brname); in wpa_driver_nl80211_deinit() 2772 if (linux_br_del(drv->global->ioctl_sock, bss->brname) < 0) in wpa_driver_nl80211_deinit() 2775 bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit() 6882 const char *brname, const char *ifname) in i802_check_bridge() argument 6887 os_strlcpy(bss->brname, brname, IFNAMSIZ); in i802_check_bridge() 6888 br_ifindex = if_nametoindex(brname); in i802_check_bridge() [all …]
|
D | driver_nl80211.h | 60 char brname[IFNAMSIZ]; member
|
D | driver_atheros.c | 1734 char brname[IFNAMSIZ]; in atheros_init() local 1776 } else if (linux_br_get(brname, drv->iface) == 0) { in atheros_init() 1778 "EAPOL receive", brname); in atheros_init() 1779 drv->sock_recv = l2_packet_init(brname, NULL, ETH_P_EAPOL, in atheros_init()
|