Lines Matching refs:real_dev
825 struct net_device *real_dev = macvlan_dev_real_dev(dev); in macvlan_do_ioctl() local
826 const struct net_device_ops *ops = real_dev->netdev_ops; in macvlan_do_ioctl()
830 strscpy(ifrr.ifr_name, real_dev->name, IFNAMSIZ); in macvlan_do_ioctl()
839 if (netif_device_present(real_dev) && ops->ndo_do_ioctl) in macvlan_do_ioctl()
840 err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd); in macvlan_do_ioctl()
1034 struct net_device *real_dev = macvlan_dev_real_dev(dev); in macvlan_ethtool_get_ts_info() local
1035 const struct ethtool_ops *ops = real_dev->ethtool_ops; in macvlan_ethtool_get_ts_info()
1036 struct phy_device *phydev = real_dev->phydev; in macvlan_ethtool_get_ts_info()
1041 return ops->get_ts_info(real_dev, info); in macvlan_ethtool_get_ts_info()
1079 struct net_device *real_dev = vlan->lowerdev; in macvlan_dev_netpoll_setup() local
1088 err = __netpoll_setup(netpoll, real_dev); in macvlan_dev_netpoll_setup()