Home
last modified time | relevance | path

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

12

/kernel/liteos_m/kal/libc/newlib/porting/include/net/
Dif.h111 } ifr_ifru; member
115 #define ifr_hwaddr ifr_ifru.ifru_hwaddr
116 #define ifr_addr ifr_ifru.ifru_addr
117 #define ifr_dstaddr ifr_ifru.ifru_dstaddr
118 #define ifr_broadaddr ifr_ifru.ifru_broadaddr
119 #define ifr_netmask ifr_ifru.ifru_netmask
120 #define ifr_flags ifr_ifru.ifru_flags
121 #define ifr_metric ifr_ifru.ifru_ivalue
122 #define ifr_mtu ifr_ifru.ifru_mtu
123 #define ifr_map ifr_ifru.ifru_map
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif.h156 } ifr_ifru; member
160 #define ifr_hwaddr ifr_ifru.ifru_hwaddr
161 #define ifr_addr ifr_ifru.ifru_addr
162 #define ifr_dstaddr ifr_ifru.ifru_dstaddr
163 #define ifr_broadaddr ifr_ifru.ifru_broadaddr
164 #define ifr_netmask ifr_ifru.ifru_netmask
165 #define ifr_flags ifr_ifru.ifru_flags
166 #define ifr_metric ifr_ifru.ifru_ivalue
167 #define ifr_mtu ifr_ifru.ifru_mtu
168 #define ifr_map ifr_ifru.ifru_map
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif.h163 } ifr_ifru; member
167 #define ifr_hwaddr ifr_ifru.ifru_hwaddr
168 #define ifr_addr ifr_ifru.ifru_addr
169 #define ifr_dstaddr ifr_ifru.ifru_dstaddr
170 #define ifr_broadaddr ifr_ifru.ifru_broadaddr
171 #define ifr_netmask ifr_ifru.ifru_netmask
172 #define ifr_flags ifr_ifru.ifru_flags
173 #define ifr_metric ifr_ifru.ifru_ivalue
174 #define ifr_mtu ifr_ifru.ifru_mtu
175 #define ifr_map ifr_ifru.ifru_map
[all …]
/kernel/linux/linux-5.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
/kernel/liteos_a/net/lwip-2.1/porting/src/
Dsockets.c1299 if ((ifr->ifr_ifru.ifru_ivalue != 0) && (ifr->ifr_ifru.ifru_ivalue != 1)) {
1304 if (ifr->ifr_ifru.ifru_ivalue == 1) {
1325 ifr->ifr_ifru.ifru_ivalue = (tmpnetif->ipv6_flags & LWIP_IPV6_ND6_FLAG_DAD) ? 1 : 0;
1346 if ((ifr->ifr_ifru.ifru_ivalue != 0) && (ifr->ifr_ifru.ifru_ivalue != 1)) {
1350 if (ifr->ifr_ifru.ifru_ivalue == 1) {
1370 ifr->ifr_ifru.ifru_ivalue = (tmpnetif->ipv6_flags & LWIP_IPV6_ND6_FLAG_DEPRECATED) ? 1 : 0;
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_vti.c814 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in vti6_ioctl()
826 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in vti6_ioctl()
835 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in vti6_ioctl()
856 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in vti6_ioctl()
869 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in vti6_ioctl()
Dsit.c301 struct ip_tunnel_prl __user *a = ifr->ifr_ifru.ifru_data; in ipip6_tunnel_get_prl()
463 if (copy_from_user(&prl, ifr->ifr_ifru.ifru_data, sizeof(prl))) in ipip6_tunnel_prl_ctl()
1200 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ipip6_tunnel_get6rd()
1211 if (copy_to_user(ifr->ifr_ifru.ifru_data, &ip6rd, sizeof(ip6rd))) in ipip6_tunnel_get6rd()
1225 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.c1276 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) { in ip6gre_tunnel_ioctl()
1287 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip6gre_tunnel_ioctl()
1298 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6gre_tunnel_ioctl()
1335 if (copy_to_user(ifr->ifr_ifru.ifru_data, &p, sizeof(p))) in ip6gre_tunnel_ioctl()
1348 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip6gre_tunnel_ioctl()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/appletalk/
Dcops.c515 struct ltfirmware *ltf= (struct ltfirmware *)&ifr.ifr_ifru; in cops_load()
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c966 if (copy_from_user(&p, ifr->ifr_ifru.ifru_data, sizeof(p))) in ip_tunnel_ioctl()
969 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()
/kernel/linux/linux-5.10/drivers/net/usb/
Drtl8150.c828 u16 *data = (u16 *) & rq->ifr_ifru; in rtl8150_ioctl()
Dpegasus.c1033 __u16 *data = (__u16 *) &rq->ifr_ifru; in pegasus_ioctl()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/slip/
Dslip.c1189 unsigned long *p = (unsigned long *)&rq->ifr_ifru;
/kernel/linux/linux-5.10/drivers/net/plip/
Dplip.c1211 struct plipconf *pc = (struct plipconf *) &rq->ifr_ifru; in plip_ioctl()
/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c59 #define DN_IFREQ_SIZE (offsetof(struct ifreq, ifr_ifru) + sizeof(struct sockaddr_dn))
/kernel/linux/linux-5.10/drivers/net/wan/
Dsbni.c1340 flags = *(struct sbni_flags*) &ifr->ifr_ifru; in sbni_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/
Dhamachi.c1880 u32 *d = (u32 *)&rq->ifr_ifru; in netdev_ioctl()

12