Home | History | Annotate | Download | only in ap

Lines Matching defs:ifr

135 	struct ifreq ifr;
159 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name));
160 ifr.ifr_data = (void *) args;
162 if (ioctl(fd, SIOCDEVPRIVATE, &ifr) < 0 && errno != EINVAL) {
186 struct ifreq ifr;
210 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name));
211 ifr.ifr_data = (void *) args;
213 if (ioctl(fd, SIOCDEVPRIVATE, &ifr) < 0) {
271 struct ifreq ifr;
298 os_memset(&ifr, 0, sizeof(ifr));
299 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ);
304 ifr.ifr_data = (char *) &arg;
305 if (ioctl(fd, SIOCDEVPRIVATE, &ifr) < 0) {
324 struct ifreq ifr;
338 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name));
339 ifr.ifr_data = (void *) arg;
341 if (ioctl(fd, SIOCDEVPRIVATE, &ifr) < 0) {