Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dif.h255 } ifr_ifru; member
260 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */
261 #define ifr_addr ifr_ifru.ifru_addr /* address */
262 #define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-p lnk */
263 #define ifr_broadaddr ifr_ifru.ifru_broadaddr /* broadcast address */
264 #define ifr_netmask ifr_ifru.ifru_netmask /* interface net mask */
265 #define ifr_flags ifr_ifru.ifru_flags /* flags */
266 #define ifr_metric ifr_ifru.ifru_ivalue /* metric */
267 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */
268 #define ifr_map ifr_ifru.ifru_map /* device map */
[all …]
/Linux-v5.10/include/linux/
Dphonet.h24 } ifr_ifru; member
26 #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
Dmii.h53 return (struct mii_ioctl_data *) &rq->ifr_ifru; in if_mii()
Dcompat.h350 } ifr_ifru; member
/Linux-v5.10/net/8021q/
Dvlan_dev.c364 ifrr.ifr_ifru = ifr->ifr_ifru; in vlan_dev_ioctl()
381 ifr->ifr_ifru = ifrr.ifr_ifru; in vlan_dev_ioctl()
/Linux-v5.10/net/ipv6/
Dip6_vti.c811 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in vti6_ioctl()
823 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in vti6_ioctl()
832 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in vti6_ioctl()
853 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in vti6_ioctl()
866 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in vti6_ioctl()
Dsit.c303 struct ip_tunnel_prl __user *a = ifr->ifr_ifru.ifru_data; in ipip6_tunnel_get_prl()
467 if (copy_from_user(&prl, ifr->ifr_ifru.ifru_data, sizeof(prl))) in ipip6_tunnel_prl_ctl()
1202 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip6_tunnel_get6rd()
1213 if (copy_to_user(ifr->ifr_ifru.ifru_data, &ip6rd, sizeof(ip6rd))) in ipip6_tunnel_get6rd()
1227 if (copy_from_user(&ip6rd, ifr->ifr_ifru.ifru_data, sizeof(ip6rd))) in ipip6_tunnel_6rdctl()
Dip6_tunnel.c1657 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ip6_tnl_ioctl()
1669 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) { in ip6_tnl_ioctl()
1679 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6_tnl_ioctl()
1703 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip6_tnl_ioctl()
1717 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6_tnl_ioctl()
Dip6_gre.c1263 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ip6gre_tunnel_ioctl()
1274 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip6gre_tunnel_ioctl()
1285 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6gre_tunnel_ioctl()
1322 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip6gre_tunnel_ioctl()
1335 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6gre_tunnel_ioctl()
/Linux-v5.10/drivers/net/
Dmacvlan.c839 ifrr.ifr_ifru = ifr->ifr_ifru; in macvlan_do_ioctl()
853 ifr->ifr_ifru = ifrr.ifr_ifru; in macvlan_do_ioctl()
/Linux-v5.10/drivers/net/appletalk/
Dcops.c515 struct ltfirmware *ltf= (struct ltfirmware *)&ifr.ifr_ifru; in cops_load()
/Linux-v5.10/net/ipv4/
Dip_tunnel.c963 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip_tunnel_ioctl()
966 if (!err && copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip_tunnel_ioctl()
Dipconfig.c346 struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr; in ic_setup_if()
/Linux-v5.10/drivers/net/usb/
Drtl8150.c828 u16 *data = (u16 *) & rq->ifr_ifru; in rtl8150_ioctl()
Dpegasus.c993 __u16 *data = (__u16 *) &rq->ifr_ifru; in pegasus_ioctl()
/Linux-v5.10/drivers/s390/net/
Dqeth_l3_main.c1548 rc = qeth_l3_arp_set_no_entries(card, rq->ifr_ifru.ifru_ivalue); in qeth_l3_do_ioctl()
1555 rc = qeth_l3_arp_query(card, rq->ifr_ifru.ifru_data); in qeth_l3_do_ioctl()
Dqeth_core_main.c6511 rc = qeth_snmp_command(card, rq->ifr_ifru.ifru_data); in qeth_do_ioctl()
6531 rc = qeth_query_oat_command(card, rq->ifr_ifru.ifru_data); in qeth_do_ioctl()
/Linux-v5.10/drivers/net/slip/
Dslip.c1189 unsigned long *p = (unsigned long *)&rq->ifr_ifru;
/Linux-v5.10/drivers/net/plip/
Dplip.c1211 struct plipconf *pc = (struct plipconf *) &rq->ifr_ifru; in plip_ioctl()
/Linux-v5.10/net/decnet/
Ddn_dev.c59 #define DN_IFREQ_SIZE (offsetof(struct ifreq, ifr_ifru) + sizeof(struct sockaddr_dn))
/Linux-v5.10/drivers/net/wan/
Dsbni.c1340 flags = *(struct sbni_flags*) &ifr->ifr_ifru; in sbni_ioctl()
/Linux-v5.10/net/
Dsocket.c3138 if (get_user(data, &ifr32->ifr_ifru.ifru_data)) in ethtool_ioctl()
3344 uifmap32 = &uifr32->ifr_ifru.ifru_map; in compat_sioc_ifmap()
/Linux-v5.10/drivers/net/ethernet/packetengines/
Dhamachi.c1880 u32 *d = (u32 *)&rq->ifr_ifru; in netdev_ioctl()
/Linux-v5.10/drivers/net/ppp/
Dppp_generic.c1349 void __user *addr = (void __user *) ifr->ifr_ifru.ifru_data; in ppp_net_ioctl()
/Linux-v5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c5363 struct de4x5_ioctl *ioc = (struct de4x5_ioctl *) &rq->ifr_ifru; in de4x5_ioctl()