Lines Matching defs:ndev
63 if (nvdev == NULL || nvdev->ndev == NULL)
70 if (nvdev->ndev->flags & IFF_PROMISC)
230 net = net_device->ndev;
260 net = ((struct netvsc_device *)hv_get_drvdata(device_obj))->ndev;
306 static int netvsc_change_mtu(struct net_device *ndev, int mtu)
308 struct net_device_context *ndevctx = netdev_priv(ndev);
326 netif_tx_disable(ndev);
329 ndev->mtu = mtu;
332 hv_set_drvdata(hdev, ndev);
335 netif_wake_queue(ndev);
370 net = net_device->ndev;
437 net = net_device->ndev;