/openbsd/regress/sys/copy/ |
H A D | copy.c | 82 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 D | ifconfig.c | 1372 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 D | if_wi_hostap.c | 1196 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 D | if_wi.c | 1586 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 D | bcmgenet.c | 891 error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, in genet_ioctl()
|
H A D | hme.c | 1187 error = if_rxr_ioctl((struct if_rxrinfo *)ifr->ifr_data, in hme_ioctl()
|
/openbsd/sys/net/ |
H A D | if_mpw.c | 315 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 D | if_mpe.c | 390 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 D | if_mpip.c | 198 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 D | if.h | 426 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
|
H A D | if.c | 2262 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 D | if_spppsubr.c | 4519 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 D | if_vlan.c | 986 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 D | if_pflow.c | 589 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 D | ieee80211_ioctl.c | 484 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 D | net80211.c | 52 ifr.ifr_data = (caddr_t)&stats; in net80211_ifstats()
|
/openbsd/usr.bin/systat/ |
H A D | if.c | 296 ifrdesc.ifr_data = (caddr_t)&ifdescr; in fetchifstat() 302 ifrdesc.ifr_data, in fetchifstat()
|
H A D | mbufs.c | 271 ifreq.ifr_data = (caddr_t)&ifi->data; in read_mb()
|
/openbsd/regress/sbin/ifconfig/ |
H A D | ifaddr.c | 704 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 D | carp.c | 93 ifr.ifr_data = (caddr_t)&ifrdat; in carp_get_state()
|
/openbsd/usr.sbin/mopd/otherOS/ |
H A D | pf-snit.c | 215 sa = (struct sockaddr *)ifr.ifr_data;
|
/openbsd/usr.sbin/vmd/ |
H A D | priv.c | 122 ifr.ifr_data = (caddr_t)vfr.vfr_value; in priv_dispatch_parent()
|
/openbsd/usr.sbin/ldpd/ |
H A D | kroute.c | 1836 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 D | if_umb.c | 872 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 D | ip_carp.c | 2020 if ((error = copyin(ifr->ifr_data, &carpr, sizeof carpr))) in carp_ioctl() 2113 error = copyout(&carpr, ifr->ifr_data, sizeof(carpr)); in carp_ioctl()
|