Lines Matching refs:real_dev
53 if (priv->real_dev) { in rmnet_vnd_start_xmit()
80 port = rmnet_get_port_rtnl(priv->real_dev); in rmnet_vnd_change_mtu()
85 new_mtu > (priv->real_dev->mtu - headroom)) in rmnet_vnd_change_mtu()
96 return priv->real_dev->ifindex; in rmnet_vnd_get_iflink()
250 struct net_device *real_dev, in rmnet_vnd_newlink() argument
268 priv->real_dev = real_dev; in rmnet_vnd_newlink()
272 if (rmnet_vnd_change_mtu(rmnet_dev, real_dev->mtu - headroom)) { in rmnet_vnd_newlink()
319 int rmnet_vnd_validate_real_dev_mtu(struct net_device *real_dev) in rmnet_vnd_validate_real_dev_mtu() argument
327 port = rmnet_get_port_rtnl(real_dev); in rmnet_vnd_validate_real_dev_mtu()
332 if (ep->egress_dev->mtu > (real_dev->mtu - headroom)) in rmnet_vnd_validate_real_dev_mtu()
340 struct net_device *real_dev) in rmnet_vnd_update_dev_mtu() argument
350 if (ep->egress_dev->mtu <= (real_dev->mtu - headroom)) in rmnet_vnd_update_dev_mtu()
354 real_dev->mtu - headroom)) in rmnet_vnd_update_dev_mtu()