/net/core/ |
D | dev_ioctl.c | 21 static int dev_ifname(struct net *net, struct ifreq *ifr) in dev_ifname() 103 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked() 169 static int net_hwtstamp_validate(struct ifreq *ifr) in net_hwtstamp_validate() 224 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc() 378 int dev_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr, bool *need_copyout) in dev_ioctl()
|
D | ethtool.c | 2561 int dev_ethtool(struct net *net, struct ifreq *ifr) in dev_ethtool()
|
/net/ |
D | socket.c | 1053 err = dev_ifconf(net, &ifc, sizeof(struct ifreq)); in sock_do_ioctl() 1058 struct ifreq ifr; in sock_do_ioctl() 1060 if (copy_from_user(&ifr, argp, sizeof(struct ifreq))) in sock_do_ioctl() 1064 if (copy_to_user(argp, &ifr, sizeof(struct ifreq))) in sock_do_ioctl() 1100 struct ifreq ifr; in sock_ioctl() 1102 if (copy_from_user(&ifr, argp, sizeof(struct ifreq))) in sock_ioctl() 1106 if (copy_to_user(argp, &ifr, sizeof(struct ifreq))) in sock_ioctl() 3097 struct ifreq ifr; in ethtool_ioctl() 3216 struct ifreq ifr; in compat_siocwandev() 3242 struct ifreq ifreq; in compat_ifr_data_ioctl() local [all …]
|
/net/ieee802154/ |
D | socket.c | 125 static int ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg, in ieee802154_dev_ioctl() 128 struct ifreq ifr; in ieee802154_dev_ioctl() 132 if (copy_from_user(&ifr, arg, sizeof(struct ifreq))) in ieee802154_dev_ioctl() 146 if (!ret && copy_to_user(arg, &ifr, sizeof(struct ifreq))) in ieee802154_dev_ioctl() 161 return ieee802154_dev_ioctl(sk, (struct ifreq __user *)arg, in ieee802154_sock_ioctl()
|
/net/bridge/ |
D | br_ioctl.c | 109 static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in old_dev_ioctl() 382 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in br_dev_ioctl()
|
D | br_private.h | 653 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
/net/ipv4/ |
D | af_inet.c | 923 struct ifreq ifr; in inet_ioctl() 946 if (copy_from_user(&ifr, p, sizeof(struct ifreq))) in inet_ioctl() 949 if (!err && copy_to_user(p, &ifr, sizeof(struct ifreq))) in inet_ioctl() 959 if (copy_from_user(&ifr, p, sizeof(struct ifreq))) in inet_ioctl()
|
D | devinet.c | 1003 int devinet_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr) in devinet_ioctl() 1245 struct ifreq ifr; in inet_gifconf() 1248 if (WARN_ON(size > sizeof(struct ifreq))) in inet_gifconf() 1261 memset(&ifr, 0, sizeof(struct ifreq)); in inet_gifconf()
|
D | ipip.c | 330 ipip_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ipip_tunnel_ioctl()
|
D | ip_vti.c | 350 vti_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in vti_tunnel_ioctl()
|
D | ipconfig.c | 345 struct ifreq ir; in ic_setup_if()
|
D | ipmr.c | 429 struct ifreq ifr; in ipmr_del_tunnel() 477 struct ifreq ifr; in ipmr_new_tunnel()
|
D | ip_gre.c | 747 struct ifreq *ifr, int cmd) in ipgre_tunnel_ioctl()
|
/net/decnet/ |
D | dn_dev.c | 59 #define DN_IFREQ_SIZE (offsetof(struct ifreq, ifr_ifru) + sizeof(struct sockaddr_dn)) 416 struct ifreq *ifr = (struct ifreq *)buffer; in dn_dev_ioctl()
|
/net/8021q/ |
D | vlan_dev.c | 357 static int vlan_dev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in vlan_dev_ioctl() 361 struct ifreq ifrr; in vlan_dev_ioctl()
|
/net/phonet/ |
D | pn_dev.c | 241 ret = dev->netdev_ops->ndo_do_ioctl(dev, (struct ifreq *)&req, in phonet_device_autoconf()
|
/net/mac802154/ |
D | iface.c | 49 mac802154_wpan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in mac802154_wpan_ioctl()
|
/net/appletalk/ |
D | aarp.c | 441 struct ifreq atreq; in aarp_send_probe_phase1()
|
D | ddp.c | 658 struct ifreq atreq; in atif_ioctl()
|
/net/qrtr/ |
D | qrtr.c | 933 struct ifreq ifr; in qrtr_ioctl()
|
/net/ipv6/ |
D | ip6_vti.c | 763 vti6_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in vti6_ioctl()
|
D | sit.c | 1167 ipip6_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ipip6_tunnel_ioctl()
|
D | ip6_tunnel.c | 1584 ip6_tnl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ip6_tnl_ioctl()
|
D | ip6_gre.c | 1223 struct ifreq *ifr, int cmd) in ip6gre_tunnel_ioctl()
|
/net/dsa/ |
D | slave.c | 258 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl()
|