Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:ireq

122 	struct ieee80211req ireq;
137 memset(&ireq, 0, sizeof(ireq));
138 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name));
139 ireq.i_type = IEEE80211_IOC_SSID;
140 ireq.i_val = -1;
142 ireq.i_data = &nwid;
143 if (ioctl(socket_afnet, SIOCG80211, &ireq) == 0) {
144 retval = ireq.i_len;
145 memcpy(ssid, nwid, ireq.i_len);
146 ssid[ireq.i_len] = '\0';