Home
last modified time | relevance | path

Searched refs:ireq (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_bsd.c50 struct ieee80211req ireq; in set80211var() local
52 os_memset(&ireq, 0, sizeof(ireq)); in set80211var()
53 os_strlcpy(ireq.i_name, drv->ifname, IFNAMSIZ); in set80211var()
54 ireq.i_type = op; in set80211var()
55 ireq.i_len = arg_len; in set80211var()
56 ireq.i_data = (void *) arg; in set80211var()
58 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in set80211var()
69 struct ieee80211req ireq; in get80211var() local
71 os_memset(&ireq, 0, sizeof(ireq)); in get80211var()
72 os_strlcpy(ireq.i_name, drv->ifname, IFNAMSIZ); in get80211var()
[all …]
/external/dhcpcd/
Dif-bsd.c122 struct ieee80211req ireq; in getifssid() local
137 memset(&ireq, 0, sizeof(ireq)); in getifssid()
138 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name)); in getifssid()
139 ireq.i_type = IEEE80211_IOC_SSID; in getifssid()
140 ireq.i_val = -1; in getifssid()
142 ireq.i_data = &nwid; in getifssid()
143 if (ioctl(socket_afnet, SIOCG80211, &ireq) == 0) { in getifssid()
144 retval = ireq.i_len; in getifssid()
145 memcpy(ssid, nwid, ireq.i_len); in getifssid()
146 ssid[ireq.i_len] = '\0'; in getifssid()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c72 struct ieee80211req ireq; in bsd_set80211() local
74 os_memset(&ireq, 0, sizeof(ireq)); in bsd_set80211()
75 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211()
76 ireq.i_type = op; in bsd_set80211()
77 ireq.i_val = val; in bsd_set80211()
78 ireq.i_data = (void *) arg; in bsd_set80211()
79 ireq.i_len = arg_len; in bsd_set80211()
81 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in bsd_set80211()
91 bsd_get80211(void *priv, struct ieee80211req *ireq, int op, void *arg, in bsd_get80211() argument
96 os_memset(ireq, 0, sizeof(*ireq)); in bsd_get80211()
[all …]
/external/libpcap/
Dscanner.l344 icmp-ireq { yylval.i = 15; return NUM; }