Home
last modified time | relevance | path

Searched refs:reqall (Results 1 – 2 of 2) sorted by relevance

/mirbsd/src/sbin/wicontrol/
Dwicontrol.c769 struct hostap_getall reqall; in wi_dumpstations() local
776 ifr.ifr_data = (caddr_t) & reqall; in wi_dumpstations()
777 bzero(&reqall, sizeof(reqall)); in wi_dumpstations()
778 reqall.size = sizeof(stas); in wi_dumpstations()
779 reqall.addr = stas; in wi_dumpstations()
789 printf("%d station%s:\n", reqall.nstations, reqall.nstations>1?"s":""); in wi_dumpstations()
790 for (i = 0; i < reqall.nstations; i++) { in wi_dumpstations()
/mirbsd/src/sys/dev/ic/
Dif_wi_hostap.c1202 struct hostap_getall reqall; in wihap_ioctl() local
1294 if ((error = copyin(ifr->ifr_data, &reqall, sizeof(reqall)))) in wihap_ioctl()
1297 reqall.nstations = whi->n_stations; in wihap_ioctl()
1301 while (sta && reqall.size >= n+sizeof(struct hostap_sta)) { in wihap_ioctl()
1310 error = copyout(&stabuf, (caddr_t) reqall.addr + n, in wihap_ioctl()
1321 error = copyout(&reqall, ifr->ifr_data, in wihap_ioctl()
1322 sizeof(reqall)); in wihap_ioctl()