Home
last modified time | relevance | path

Searched refs:ifr_data (Results 1 – 25 of 61) sorted by relevance

123

/openbsd/regress/sys/copy/
H A Dcopy.c82 ifrdesc.ifr_data = goodbuf; in main()
87 ifrdesc.ifr_data = 0; in main()
92 ifrdesc.ifr_data = badbuf; in main()
/openbsd/sbin/ifconfig/
H A Difconfig.c1372 ifr.ifr_data = (caddr_t)val; in setifdesc()
1815 ifr.ifr_data = (caddr_t)&nwid; in setifnwid()
1827 ifr.ifr_data = (caddr_t)&join; in process_join_commands()
3332 strlen(ifrdesc.ifr_data)) in status()
5451 ifr.ifr_data = (caddr_t)spa; in spppauthinfo()
5462 ifr.ifr_data = (caddr_t)spd; in spppdnsinfo()
6056 ifr.ifr_data = (caddr_t)&mi; in umb_status()
6297 ifr.ifr_data = (caddr_t)∓ in umb_pinop()
6323 ifr.ifr_data = (caddr_t)∓ in umb_apn()
6350 ifr.ifr_data = (caddr_t)∓ in umb_setclass()
[all …]
/openbsd/sys/dev/ic/
H A Dif_wi_hostap.c1196 if ((error = copyin(ifr->ifr_data, &reqsta, sizeof(reqsta)))) in wihap_ioctl()
1218 if ((error = copyin(ifr->ifr_data, &reqsta, sizeof(reqsta)))) in wihap_ioctl()
1231 error = copyout(&reqsta, ifr->ifr_data, in wihap_ioctl()
1240 if ((error = copyin(ifr->ifr_data, &reqsta, sizeof(reqsta)))) in wihap_ioctl()
1263 if ((error = copyin(ifr->ifr_data, &flag, sizeof(int)))) in wihap_ioctl()
1272 error = copyout(&flag, ifr->ifr_data, sizeof(int)); in wihap_ioctl()
1276 if ((error = copyin(ifr->ifr_data, &reqall, sizeof(reqall)))) in wihap_ioctl()
1303 error = copyout(&reqall, ifr->ifr_data, in wihap_ioctl()
H A Dif_wi.c1586 error = copyin(ifr->ifr_data, wreq, sizeof(*wreq)); in wi_ioctl()
1637 error = copyout(wreq, ifr->ifr_data, sizeof(*wreq)); in wi_ioctl()
1643 error = copyin(ifr->ifr_data, wreq, sizeof(*wreq)); in wi_ioctl()
1710 error = copyin(ifr->ifr_data, wreq, sizeof(*wreq)); in wi_ioctl()
1720 error = copyout(wreq, ifr->ifr_data, sizeof(*wreq)); in wi_ioctl()
1726 error = copyin(ifr->ifr_data, wreq, sizeof(*wreq)); in wi_ioctl()
1734 error = copyout(&sc->wi_net_name, ifr->ifr_data, in wi_ioctl()
1748 error = copyout(nwidp, ifr->ifr_data, in wi_ioctl()
1757 error = copyin(ifr->ifr_data, nwidp, sizeof(*nwidp)); in wi_ioctl()
H A Dbcmgenet.c891 error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, in genet_ioctl()
H A Dhme.c1187 error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, in hme_ioctl()
/openbsd/sys/net/
H A Dif_mpw.c315 return (copyout(&label, ifr->ifr_data, sizeof(label))); in mpw_get_label()
343 error = copyin(ifr->ifr_data, &imr, sizeof(imr)); in mpw_set_config()
392 return (copyout(&imr, ifr->ifr_data, sizeof(imr))); in mpw_get_config()
441 error = copyin(ifr->ifr_data, &shim, sizeof(shim)); in mpw_ioctl()
H A Dif_mpe.c390 error = copyout(&shim, ifr->ifr_data, sizeof(shim)); in mpe_ioctl()
393 error = copyin(ifr->ifr_data, &shim, sizeof(shim)); in mpe_ioctl()
H A Dif_mpip.c198 error = copyin(ifr->ifr_data, &label, sizeof(label)); in mpip_set_label()
224 return (copyout(&label, ifr->ifr_data, sizeof(label))); in mpip_get_label()
H A Dif.h426 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
H A Dif.c2262 error = copyinstr(ifr->ifr_data, ifdescrbuf, in ifioctl()
2273 error = copyinstr(ifr->ifr_data, ifrtlabelbuf, in ifioctl()
2563 error = copyout(&ifdata, ifr->ifr_data, sizeof(ifdata)); in ifioctl_get()
2569 error = copyoutstr(ifdescrbuf, ifr->ifr_data, IFDESCRSIZE, in ifioctl_get()
2576 error = copyoutstr(ifrtlabelbuf, ifr->ifr_data, in ifioctl_get()
H A Dif_spppsubr.c4519 if (copyin((caddr_t)ifr->ifr_data, &cmd, sizeof cmd) != 0) in sppp_get_params()
4531 if (copyout(spr, (caddr_t)ifr->ifr_data, sizeof(*spr)) != 0) { in sppp_get_params()
4554 if (copyout(spa, (caddr_t)ifr->ifr_data, sizeof(*spa)) != 0) { in sppp_get_params()
4570 if (copyout(spd, (caddr_t)ifr->ifr_data, sizeof(*spd)) != 0) { in sppp_get_params()
4591 if (copyin((caddr_t)ifr->ifr_data, &cmd, sizeof cmd) != 0) in sppp_set_params()
4601 if (copyin((caddr_t)ifr->ifr_data, spr, sizeof(*spr)) != 0) { in sppp_set_params()
4637 if (copyin((caddr_t)ifr->ifr_data, spa, sizeof(*spa)) != 0) { in sppp_set_params()
H A Dif_vlan.c986 error = copyin(ifr->ifr_data, &vlr, sizeof(vlr)); in vlan_set_compat()
1029 return (copyout(&vlr, ifr->ifr_data, sizeof(vlr))); in vlan_get_compat()
H A Dif_pflow.c589 if ((error = copyout(&pflowr, ifr->ifr_data, sizeof(pflowr)))) in pflowioctl()
596 if ((error = copyin(ifr->ifr_data, &pflowr, sizeof(pflowr)))) in pflowioctl()
/openbsd/sys/net80211/
H A Dieee80211_ioctl.c484 if ((error = copyin(ifr->ifr_data, &nwid, sizeof(nwid))) != 0) in ieee80211_ioctl()
518 error = copyout(&nwid, ifr->ifr_data, sizeof(nwid)); in ieee80211_ioctl()
525 if ((error = copyin(ifr->ifr_data, &join, sizeof(join))) != 0) in ieee80211_ioctl()
583 error = copyout(&join, ifr->ifr_data, in ieee80211_ioctl()
818 error = copyout(&ic->ic_stats, ifr->ifr_data, in ieee80211_ioctl()
/openbsd/usr.bin/netstat/
H A Dnet80211.c52 ifr.ifr_data = (caddr_t)&stats; in net80211_ifstats()
/openbsd/usr.bin/systat/
H A Dif.c296 ifrdesc.ifr_data = (caddr_t)&ifdescr; in fetchifstat()
302 ifrdesc.ifr_data, in fetchifstat()
H A Dmbufs.c271 ifreq.ifr_data = (caddr_t)&ifi->data; in read_mb()
/openbsd/regress/sbin/ifconfig/
H A Difaddr.c704 ifr.ifr_data = (caddr_t)(const char *)""; in setifrtlabel()
706 ifr.ifr_data = (caddr_t)label; in setifrtlabel()
1117 ifrdesc.ifr_data = (caddr_t)&ifdescr; in status()
1119 strlen(ifrdesc.ifr_data)) in status()
1120 printf("\tdescription: %s\n", ifrdesc.ifr_data); in status()
1834 ifr.ifr_data = (caddr_t)&ifrdat; in printifhwfeatures()
/openbsd/usr.sbin/sasyncd/
H A Dcarp.c93 ifr.ifr_data = (caddr_t)&ifrdat; in carp_get_state()
/openbsd/usr.sbin/mopd/otherOS/
H A Dpf-snit.c215 sa = (struct sockaddr *)ifr.ifr_data;
/openbsd/usr.sbin/vmd/
H A Dpriv.c122 ifr.ifr_data = (caddr_t)vfr.vfr_value; in priv_dispatch_parent()
/openbsd/usr.sbin/ldpd/
H A Dkroute.c1836 ifr.ifr_data = (caddr_t) &imr; in kmpw_install()
1854 ifr.ifr_data = (caddr_t) &imr; in kmpw_uninstall()
/openbsd/sys/dev/usb/
H A Dif_umb.c872 error = copyout(&sc->sc_info, ifr->ifr_data, in umb_ioctl()
878 if ((error = copyin(ifr->ifr_data, &mp, sizeof (mp))) != 0) in umb_ioctl()
902 error = copyout(&mp, ifr->ifr_data, sizeof (mp)); in umb_ioctl()
/openbsd/sys/netinet/
H A Dip_carp.c2020 if ((error = copyin(ifr->ifr_data, &carpr, sizeof carpr))) in carp_ioctl()
2113 error = copyout(&carpr, ifr->ifr_data, sizeof(carpr)); in carp_ioctl()

123