Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:ireq

111 	struct ieee80211req ireq;
126 memset(&ireq, 0, sizeof(ireq));
127 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name));
128 ireq.i_type = IEEE80211_IOC_SSID;
129 ireq.i_val = -1;
130 ireq.i_data = &nwid;
131 if (ioctl(socket_afnet, SIOCG80211, &ireq) == 0) {
132 retval = ireq.i_len;
133 memcpy(ssid, nwid, ireq.i_len);
134 ssid[ireq.i_len] = '\0';