Home
last modified time | relevance | path

Searched refs:i_len (Results 1 – 17 of 17) sorted by relevance

/freebsd/lib/lib80211/
H A Dlib80211_ioctl.c106 ireq.i_len = len; in lib80211_get80211()
118 ireq.i_len = len; in lib80211_get80211len()
119 assert(ireq.i_len == len); /* NB: check for 16-bit truncation */ in lib80211_get80211len()
123 *plen = ireq.i_len; in lib80211_get80211len()
150 ireq.i_len = len; in lib80211_set80211()
151 assert(ireq.i_len == len); /* NB: check for 16-bit truncation */ in lib80211_set80211()
/freebsd/sys/net80211/
H A Dieee80211_ioctl.c84 if (ireq->i_len != sizeof(ik)) in ieee80211_ioctl_getkey()
134 if (sizeof(ic->ic_chan_active) < ireq->i_len) in ieee80211_ioctl_getchanlist()
135 ireq->i_len = sizeof(ic->ic_chan_active); in ieee80211_ioctl_getchanlist()
136 return copyout(&ic->ic_chan_active, ireq->i_data, ireq->i_len); in ieee80211_ioctl_getchanlist()
147 if (space > ireq->i_len) in ieee80211_ioctl_getchaninfo()
148 space = ireq->i_len; in ieee80211_ioctl_getchaninfo()
161 if (ireq->i_len < IEEE80211_ADDR_LEN) in ieee80211_ioctl_getwpaie()
188 if (ireq->i_len > sizeof(struct ieee80211req_wpaie2)) in ieee80211_ioctl_getwpaie()
189 ireq->i_len = sizeof(struct ieee80211req_wpaie2); in ieee80211_ioctl_getwpaie()
199 if (ireq->i_len > sizeof(struct ieee80211req_wpaie)) in ieee80211_ioctl_getwpaie()
[all …]
H A Dieee80211_acl.c303 if (ireq->i_len == 0) { in acl_getioctl()
304 ireq->i_len = space; /* return required space */ in acl_getioctl()
318 if (ireq->i_len >= space) { in acl_getioctl()
320 ireq->i_len = space; in acl_getioctl()
322 error = copyout(ap, ireq->i_data, ireq->i_len); in acl_getioctl()
H A Dieee80211_mesh.c3424 ireq->i_len = ms->ms_idlen; in mesh_ioctl_get80211()
3425 memcpy(tmpmeshid, ms->ms_id, ireq->i_len); in mesh_ioctl_get80211()
3426 error = copyout(tmpmeshid, ireq->i_data, ireq->i_len); in mesh_ioctl_get80211()
3449 if (len > ireq->i_len || ireq->i_len < sizeof(*imr)) { in mesh_ioctl_get80211()
3450 ireq->i_len = len; in mesh_ioctl_get80211()
3453 ireq->i_len = len; in mesh_ioctl_get80211()
3480 ireq->i_len); in mesh_ioctl_get80211()
3493 if (ireq->i_len < len) in mesh_ioctl_get80211()
3495 ireq->i_len = len; in mesh_ioctl_get80211()
3501 if (ireq->i_len < len) in mesh_ioctl_get80211()
[all …]
H A Dieee80211_ioctl.h594 uint16_t i_len; /* Index or simple value */ member
/freebsd/contrib/dialog/
H A Dinputstr.c58 size_t i_len; /* length(list) - we add 1 for EOS */ member
205 same_cache2(CACHE * cache, const char *string, unsigned i_len) in same_cache2() argument
214 unsigned need = (i_len + 1); in same_cache2()
218 } else if (cache->i_len < i_len) { in same_cache2()
222 cache->i_len = i_len; in same_cache2()
244 same_cache1(CACHE * cache, const char *string, size_t i_len) in same_cache1() argument
260 cache->i_len = i_len; in same_cache1()
296 cache->i_len = len; in dlg_count_wcbytes()
298 result = (int) cache->i_len; in dlg_count_wcbytes()
332 cache->i_len = ((int) code >= 0) ? wcslen(temp) : 0; in dlg_count_wchars()
[all …]
/freebsd/tools/tools/net80211/mlme_assoc/
H A Dmlme_assoc.c104 ireq.i_len = sizeof(mlme); in try_mlme_assoc()
128 ireq.i_len = sizeof(buf); in mlme_assoc_scan_results()
131 if (error == -1 || ireq.i_len < 0) { in mlme_assoc_scan_results()
137 len = ireq.i_len; in mlme_assoc_scan_results()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_openbsd.c39 nwid.i_len > IEEE80211_NWID_LEN) in wpa_driver_openbsd_get_ssid()
42 os_memcpy(ssid, nwid.i_nwid, nwid.i_len); in wpa_driver_openbsd_get_ssid()
43 return nwid.i_len; in wpa_driver_openbsd_get_ssid()
H A Ddriver_bsd.c119 ireq.i_len = arg_len; in bsd_set80211()
139 ireq->i_len = arg_len; in bsd_get80211()
159 return ireq.i_len; in get80211var()
186 nwid.i_len > IEEE80211_NWID_LEN) in bsd_get_ssid()
188 os_memcpy(ssid, nwid.i_nwid, nwid.i_len); in bsd_get_ssid()
189 return nwid.i_len; in bsd_get_ssid()
204 nwid.i_len = ssid_len; in bsd_set_ssid()
/freebsd/tools/tools/net80211/wlanstats/
H A Dmain.c101 ireq.i_len = sizeof(stats);
277 ireq.i_len = sizeof(u);
280 len = ireq.i_len;
H A Dwlanstats.c473 wf->ireq.i_len = IEEE80211_ADDR_LEN; in getbssid()
518 wf->ireq.i_len = sizeof(wf->u_info); in wlan_collect()
527 wf->ireq.i_len = sizeof(*nstats); in wlan_collect()
/freebsd/sbin/ifconfig/
H A Difieee80211.c3826 ireq.i_len = sizeof(sr); in scan_and_wait()
4313 ireq.i_len = ac; in get80211wme()
4543 ireq.i_len = 0; in list_mac()
4546 if (ireq.i_len == 0) { /* NB: no acls */ in list_mac()
4551 len = ireq.i_len; in list_mac()
4625 ireq.i_len = sizeof(routes); in list_mesh()
4638 for (unsigned int i = 0; i < ireq.i_len / sizeof(*rt); i++) { in list_mesh()
4734 ireq->i_len <= 5 ? "40" :
4735 ireq->i_len <= 13 ? "104" : "128");
4855 ireq.i_len in getid()
[all...]
/freebsd/contrib/file/src/
H A Dcdf.h269 size_t i_len; member
H A Dreadcdf.c558 info.i_len = nbytes; in file_trycdf()
H A Dcdf.c377 if (info->i_buf != NULL && info->i_len >= siz) { in cdf_read()
1618 info.i_len = 0; in main()
/freebsd/tools/tools/net80211/wlanwds/
H A Dwlanwds.c260 ireq.i_len = IEEE80211_ADDR_LEN; in getbssid()
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c176 ireq.i_len = *argsize; in wlan_ioctl()
186 *argsize = ireq.i_len; in wlan_ioctl()