/* User level interface (ioctl) Set (create) an ARP cache entry.  */
static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on)
/* User level interface (ioctl) Set (create) an ARP cache entry.  */
static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on)
{
	if (dev == NULL) {
		IPV4_DEVCONF_ALL(net, PROXY_ARP) = on;
		return 0;
	}
	if (__in_dev_get_rtnl(dev)) {
		IN_DEV_CONF_SET(__in_dev_get_rtnl(dev), PROXY_ARP, on);
		return 0;
	}
	return -ENXIO;
}