Lines Matching defs:net_device

71 struct net_device;
107 int (*ndo_open)(struct net_device *);
108 int (*ndo_stop)(struct net_device *);
109 int (*ndo_set_mac_address)(struct net_device *, void *);
110 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
111 void (*ndo_set_rx_mode)(struct net_device *);
114 struct net_device {
115 /* net_device fields seen publicly. */
144 void (*priv_destructor)(struct net_device *);
146 /* net_device internal. */
150 * In case we delete the net_device we need to be able to clear all
166 struct net_device *dev;
170 static inline struct net_device *
219 struct net_device *dev;
236 void linuxkpi_init_dummy_netdev(struct net_device *);
237 void linuxkpi_netif_napi_add(struct net_device *, struct napi_struct *,
277 netif_napi_add_tx(struct net_device *dev, struct napi_struct *napi,
313 netdev_mc_count(struct net_device *ndev)
349 ether_setup(struct net_device *ndev)
356 dev_net_set(struct net_device *ndev, void *p)
363 dev_set_threaded(struct net_device *ndev, bool threaded)
373 netif_carrier_ok(struct net_device *ndev)
380 netif_carrier_off(struct net_device *ndev)
386 netif_carrier_on(struct net_device *ndev)
394 netif_queue_stopped(struct net_device *ndev)
401 netif_stop_queue(struct net_device *ndev)
407 netif_wake_queue(struct net_device *ndev)
415 register_netdevice(struct net_device *ndev)
424 register_netdev(struct net_device *ndev)
436 unregister_netdev(struct net_device *ndev)
442 unregister_netdevice(struct net_device *ndev)
463 struct net_device *linuxkpi_alloc_netdev(size_t, const char *, uint32_t,
464 void(*)(struct net_device *));
465 void linuxkpi_free_netdev(struct net_device *);
475 netdev_priv(const struct net_device *ndev)