Searched refs:ireq (Results 1 – 4 of 4) sorted by relevance
/external/libpcap/ |
D | pcap-linux.c | 924 struct iwreq ireq; local 976 strncpy(ireq.ifr_ifrn.ifrn_name, handle->opt.source, 977 sizeof ireq.ifr_ifrn.ifrn_name); 978 ireq.ifr_ifrn.ifrn_name[sizeof ireq.ifr_ifrn.ifrn_name - 1] = 0; 979 if (ioctl(sock_fd, SIOCGIWMODE, &ireq) != -1) { 1081 struct iwreq ireq; local 1178 strncpy(ireq.ifr_ifrn.ifrn_name, handlep->device, 1179 sizeof ireq.ifr_ifrn.ifrn_name); 1180 ireq.ifr_ifrn.ifrn_name[sizeof ireq.ifr_ifrn.ifrn_name - 1] 1182 ireq.u.mode = handlep->oldmode; [all …]
|
D | scanner.l | 375 icmp-ireq { yylval.i = 15; return NUM; }
|
/external/dhcpcd/ |
D | if-bsd.c | 122 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/ |
D | driver_bsd.c | 75 struct ieee80211req ireq; in bsd_set80211() local 77 os_memset(&ireq, 0, sizeof(ireq)); in bsd_set80211() 78 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211() 79 ireq.i_type = op; in bsd_set80211() 80 ireq.i_val = val; in bsd_set80211() 81 ireq.i_data = (void *) arg; in bsd_set80211() 82 ireq.i_len = arg_len; in bsd_set80211() 84 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in bsd_set80211() 94 bsd_get80211(void *priv, struct ieee80211req *ireq, int op, void *arg, in bsd_get80211() argument 99 os_memset(ireq, 0, sizeof(*ireq)); in bsd_get80211() [all …]
|