Home
last modified time | relevance | path

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

12

/net/core/
Ddev_ioctl.c21 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()
Dethtool.c2561 int dev_ethtool(struct net *net, struct ifreq *ifr) in dev_ethtool()
/net/
Dsocket.c1053 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/
Dsocket.c125 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/
Dbr_ioctl.c109 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()
Dbr_private.h653 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/net/ipv4/
Daf_inet.c923 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()
Ddevinet.c1003 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()
Dipip.c330 ipip_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ipip_tunnel_ioctl()
Dip_vti.c350 vti_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in vti_tunnel_ioctl()
Dipconfig.c345 struct ifreq ir; in ic_setup_if()
Dipmr.c429 struct ifreq ifr; in ipmr_del_tunnel()
477 struct ifreq ifr; in ipmr_new_tunnel()
Dip_gre.c747 struct ifreq *ifr, int cmd) in ipgre_tunnel_ioctl()
/net/decnet/
Ddn_dev.c59 #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/
Dvlan_dev.c357 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/
Dpn_dev.c241 ret = dev->netdev_ops->ndo_do_ioctl(dev, (struct ifreq *)&req, in phonet_device_autoconf()
/net/mac802154/
Diface.c49 mac802154_wpan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in mac802154_wpan_ioctl()
/net/appletalk/
Daarp.c441 struct ifreq atreq; in aarp_send_probe_phase1()
Dddp.c658 struct ifreq atreq; in atif_ioctl()
/net/qrtr/
Dqrtr.c933 struct ifreq ifr; in qrtr_ioctl()
/net/ipv6/
Dip6_vti.c763 vti6_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in vti6_ioctl()
Dsit.c1167 ipip6_tunnel_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ipip6_tunnel_ioctl()
Dip6_tunnel.c1584 ip6_tnl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in ip6_tnl_ioctl()
Dip6_gre.c1223 struct ifreq *ifr, int cmd) in ip6gre_tunnel_ioctl()
/net/dsa/
Dslave.c258 static int dsa_slave_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in dsa_slave_ioctl()

12