Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dif.h151 } ifr_ifru; member
155 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */
156 #define ifr_addr ifr_ifru.ifru_addr /* address */
157 #define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-p lnk */
158 #define ifr_broadaddr ifr_ifru.ifru_broadaddr /* broadcast address */
159 #define ifr_netmask ifr_ifru.ifru_netmask /* interface net mask */
160 #define ifr_flags ifr_ifru.ifru_flags /* flags */
161 #define ifr_metric ifr_ifru.ifru_ivalue /* metric */
162 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */
163 #define ifr_map ifr_ifru.ifru_map /* device map */
[all …]
Dirda.h202 } ifr_ifru; member
205 #define ifr_baudrate ifr_ifru.ifru_qos.baudrate
206 #define ifr_receiving ifr_ifru.ifru_receiving
207 #define ifr_dongle ifr_ifru.ifru_dongle
208 #define ifr_mode ifr_ifru.ifru_mode
209 #define ifr_dtr ifr_ifru.ifru_line.dtr
210 #define ifr_rts ifr_ifru.ifru_line.rts
Dif_ppp.h111 #define stats_ptr b.ifr_ifru.ifru_data
152 #define ifr_mtu ifr_ifru.ifru_metric
Dmii.h149 return (struct mii_ioctl_data *) &rq->ifr_ifru; in if_mii()
/linux-2.4.37.9/arch/s390x/kernel/
Dioctl32.c110 } ifr_ifru; member
239 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in bond_ioctl()
271 err |= __get_user(ifr.ifr_map.mem_start, &(uifr->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
272 err |= __get_user(ifr.ifr_map.mem_end, &(uifr->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
273 err |= __get_user(ifr.ifr_map.base_addr, &(uifr->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
274 err |= __get_user(ifr.ifr_map.irq, &(uifr->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
275 err |= __get_user(ifr.ifr_map.dma, &(uifr->ifr_ifru.ifru_map.dma)); in dev_ifsioc()
276 err |= __get_user(ifr.ifr_map.port, &(uifr->ifr_ifru.ifru_map.port)); in dev_ifsioc()
307 err |= __put_user(ifr.ifr_map.mem_start, &(uifr->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
308 err |= __put_user(ifr.ifr_map.mem_end, &(uifr->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
[all …]
/linux-2.4.37.9/net/ipv4/
Dipip.c671 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ipip_tunnel_ioctl()
680 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ipip_tunnel_ioctl()
691 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip_tunnel_ioctl()
734 if (copy_to_user(ifr->ifr_ifru.ifru_data, &t->parms, sizeof(p))) in ipip_tunnel_ioctl()
747 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip_tunnel_ioctl()
Dip_gre.c902 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ipgre_tunnel_ioctl()
911 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ipgre_tunnel_ioctl()
922 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipgre_tunnel_ioctl()
980 if (copy_to_user(ifr->ifr_ifru.ifru_data, &t->parms, sizeof(p))) in ipgre_tunnel_ioctl()
993 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipgre_tunnel_ioctl()
Dipconfig.c296 struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; in ic_setup_if()
Dipmr.c138 ifr.ifr_ifru.ifru_data = (void*)&p; in ipmr_new_tunnel()
/linux-2.4.37.9/net/ipv6/
Dsit.c625 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ipip6_tunnel_ioctl()
634 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ipip6_tunnel_ioctl()
645 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip6_tunnel_ioctl()
687 if (copy_to_user(ifr->ifr_ifru.ifru_data, &t->parms, sizeof(p))) in ipip6_tunnel_ioctl()
700 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip6_tunnel_ioctl()
Daddrconf.c1134 ifr.ifr_ifru.ifru_data = (void*)&p; in addrconf_set_dstaddr()
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c321 } ifr_ifru; member
438 err |= __get_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
439 err |= __get_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
440 err |= __get_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
441 err |= __get_user(ifr.ifr_map.irq, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
442 err |= __get_user(ifr.ifr_map.dma, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.dma)); in dev_ifsioc()
443 err |= __get_user(ifr.ifr_map.port, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.port)); in dev_ifsioc()
474 … err |= __put_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
475 err |= __put_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
476 … err |= __put_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c467 } ifr_ifru; member
585 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in ethtool_ioctl()
630 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in ethtool_ioctl()
673 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in bond_ioctl()
711 if (__get_user(data32, &u_ifreq32->ifr_ifru.ifru_data)) in siocdevprivate_ioctl()
721 __put_user(data64, &u_ifreq64->ifr_ifru.ifru_data); in siocdevprivate_ioctl()
735 err |= __get_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
736 err |= __get_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
737 err |= __get_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
738 err |= __get_user(ifr.ifr_map.irq, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c197 } ifr_ifru; member
292 err |= __get_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
293 err |= __get_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
294 err |= __get_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
295 err |= __get_user(ifr.ifr_map.irq, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
296 err |= __get_user(ifr.ifr_map.dma, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.dma)); in dev_ifsioc()
297 err |= __get_user(ifr.ifr_map.port, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.port)); in dev_ifsioc()
313 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in dev_ifsioc()
355 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in dev_ifsioc()
373 … err |= __put_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dioctl32.c460 } ifr_ifru; member
584 if (get_user(data, &ifr32->ifr_ifru.ifru_data)) in ethtool_ioctl()
588 if (put_user(datap, &ifr->ifr_ifru.ifru_data)) in ethtool_ioctl()
625 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in bond_ioctl()
657 if (__get_user(data32, &u_ifreq32->ifr_ifru.ifru_data)) in siocdevprivate_ioctl()
667 __put_user(data64, &u_ifreq64->ifr_ifru.ifru_data); in siocdevprivate_ioctl()
681 err |= __get_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
682 err |= __get_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
683 err |= __get_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
684 err |= __get_user(ifr.ifr_map.irq, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
[all …]
Dsunos_ioctl32.c84 } ifr_ifru; member
/linux-2.4.37.9/arch/ppc64/kernel/
Dioctl32.c452 } ifr_ifru; member
563 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in ethtool_ioctl()
678 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in ethtool_ioctl()
720 __get_user(data, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_data)); in bond_ioctl()
750 err |= __get_user(ifr.ifr_map.mem_start, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_start)); in dev_ifsioc()
751 err |= __get_user(ifr.ifr_map.mem_end, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.mem_end)); in dev_ifsioc()
752 err |= __get_user(ifr.ifr_map.base_addr, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.base_addr)); in dev_ifsioc()
753 err |= __get_user(ifr.ifr_map.irq, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.irq)); in dev_ifsioc()
754 err |= __get_user(ifr.ifr_map.dma, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.dma)); in dev_ifsioc()
755 err |= __get_user(ifr.ifr_map.port, &(((struct ifreq32 *)arg)->ifr_ifru.ifru_map.port)); in dev_ifsioc()
[all …]
/linux-2.4.37.9/drivers/net/e1000/
Dkcompat.h229 return (struct mii_ioctl_data *) &rq->ifr_ifru; in _kc_if_mii()
/linux-2.4.37.9/drivers/net/
Drcpci45.c828 rq->ifr_ifru.ifru_data = (caddr_t) USER_PROTOCOL_REV; in RCioctl()
944 rq->ifr_ifru.ifru_data = (caddr_t) 0x12345678; in RCioctl()
Dppp_generic.c868 void *addr = (void *) ifr->ifr_ifru.ifru_data; in ppp_net_ioctl()
Dskge.c2033 data = (struct mii_ioctl_data *) &ifr->ifr_ifru; in skge_ioctl()
Dsky2.c883 data = (struct mii_ioctl_data *) &ifr->ifr_ifru; in sky2_ioctl()
/linux-2.4.37.9/drivers/isdn/
Disdn_net.c1478 if (copy_to_user((char *)ifr->ifr_ifru.ifru_data, in isdn_ciscohdlck_dev_ioctl()
1486 (char *)ifr->ifr_ifru.ifru_data, len)) in isdn_ciscohdlck_dev_ioctl()
1505 if (copy_to_user((char *)ifr->ifr_ifru.ifru_data, in isdn_ciscohdlck_dev_ioctl()
1512 (char *)ifr->ifr_ifru.ifru_data, len)) in isdn_ciscohdlck_dev_ioctl()
Disdn_ppp.c1979 res = (struct ppp_stats *) ifr->ifr_ifru.ifru_data; in isdn_ppp_dev_ioctl_stats()
2027 r = (char *) ifr->ifr_ifru.ifru_data; in isdn_ppp_dev_ioctl()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c3488 if (copy_to_user(req->ifr_ifru.ifru_data, in qeth_queryarp()
3562 if (copy_to_user(req->ifr_ifru.ifru_data + SNMP_REQUEST_DATA_OFFSET, in qeth_send_snmp_control()
4622 if (copy_from_user(buff,rq->ifr_ifru.ifru_data,sizeof(buff))) in qeth_do_ioctl()
4628 if (copy_from_user(buff,rq->ifr_ifru.ifru_data,sizeof(buff))) in qeth_do_ioctl()
4661 rq->ifr_ifru.ifru_ivalue,4); in qeth_do_ioctl()