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.c1213 os_strlcpy(bss->brname, namebuf, IFNAMSIZ); in wpa_driver_nl80211_event_rtm_newlink()
2757 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit()
2761 bss->ifname, bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit()
2768 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit()
2772 bss->brname); in wpa_driver_nl80211_deinit()
2773 if (linux_br_del(drv->global->ioctl_sock, bss->brname) < 0) in wpa_driver_nl80211_deinit()
2776 bss->brname, strerror(errno)); in wpa_driver_nl80211_deinit()
6829 const char *brname, const char *ifname) in i802_check_bridge() argument
6834 os_strlcpy(bss->brname, brname, IFNAMSIZ); in i802_check_bridge()
6835 br_ifindex = if_nametoindex(brname); in i802_check_bridge()
[all …]
Ddriver_nl80211.h60 char brname[IFNAMSIZ]; member
Ddriver_atheros.c1734 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()