Home
last modified time | relevance | path

Searched refs:ireq (Results 1 – 5 of 5) 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/wpa_supplicant/
Ddriver_bsd.c46 struct ieee80211req ireq; in set80211var() local
48 os_memset(&ireq, 0, sizeof(ireq)); in set80211var()
49 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ); in set80211var()
50 ireq.i_type = op; in set80211var()
51 ireq.i_len = arg_len; in set80211var()
52 ireq.i_data = (void *) arg; in set80211var()
54 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in set80211var()
65 struct ieee80211req ireq; in get80211var() local
67 os_memset(&ireq, 0, sizeof(ireq)); in get80211var()
68 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ); in get80211var()
[all …]
/external/dhcpcd/
Dif-bsd.c111 struct ieee80211req ireq; in getifssid() local
126 memset(&ireq, 0, sizeof(ireq)); in getifssid()
127 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name)); in getifssid()
128 ireq.i_type = IEEE80211_IOC_SSID; in getifssid()
129 ireq.i_val = -1; in getifssid()
130 ireq.i_data = &nwid; in getifssid()
131 if (ioctl(socket_afnet, SIOCG80211, &ireq) == 0) { in getifssid()
132 retval = ireq.i_len; in getifssid()
133 memcpy(ssid, nwid, ireq.i_len); in getifssid()
134 ssid[ireq.i_len] = '\0'; in getifssid()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c78 struct ieee80211req ireq; in bsd_set80211() local
80 os_memset(&ireq, 0, sizeof(ireq)); in bsd_set80211()
81 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211()
82 ireq.i_type = op; in bsd_set80211()
83 ireq.i_val = val; in bsd_set80211()
84 ireq.i_data = (void *) arg; in bsd_set80211()
85 ireq.i_len = arg_len; in bsd_set80211()
87 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in bsd_set80211()
97 bsd_get80211(void *priv, struct ieee80211req *ireq, int op, void *arg, in bsd_get80211() argument
102 os_memset(ireq, 0, sizeof(*ireq)); in bsd_get80211()
[all …]
/external/libpcap/
Dscanner.l344 icmp-ireq { yylval.i = 15; return NUM; }