Lines Matching refs:net_device

248 struct net_device  struct
279 struct net_device *next; argument
282 int (*init)(struct net_device *dev); argument
286 struct net_device *next_sched; argument
293 struct net_device_stats* (*get_stats)(struct net_device *dev); argument
294 struct iw_statistics* (*get_wireless_stats)(struct net_device *dev); argument
324 struct net_device *master; /* Pointer to master device of a group, argument
387 void (*uninit)(struct net_device *dev); argument
389 void (*destructor)(struct net_device *dev); argument
392 int (*open)(struct net_device *dev); argument
393 int (*stop)(struct net_device *dev); argument
395 struct net_device *dev); argument
397 int (*poll) (struct net_device *dev, int *quota); argument
399 struct net_device *dev, argument
406 void (*set_multicast_list)(struct net_device *dev); argument
408 int (*set_mac_address)(struct net_device *dev, argument
411 int (*do_ioctl)(struct net_device *dev, argument
414 int (*set_config)(struct net_device *dev, argument
420 struct net_device *dev, argument
423 int (*change_mtu)(struct net_device *dev, int new_mtu); argument
426 void (*tx_timeout) (struct net_device *dev); argument
428 void (*vlan_rx_register)(struct net_device *dev, argument
430 void (*vlan_rx_add_vid)(struct net_device *dev, argument
432 void (*vlan_rx_kill_vid)(struct net_device *dev, argument
437 int (*neigh_setup)(struct net_device *dev, struct neigh_parms *); argument
438 int (*accept_fastpath)(struct net_device *, struct dst_entry*); argument
464 struct net_device *dev; /* NULL is wildcarded here */ argument
465 int (*func) (struct sk_buff *, struct net_device *,
471 static inline void *netdev_priv(struct net_device *dev) in netdev_priv()
479 extern struct net_device loopback_dev; /* The loopback */
480 extern struct net_device *dev_base; /* All devices */
484 extern int netdev_boot_setup_check(struct net_device *dev);
485 extern struct net_device *dev_getbyhwaddr(unsigned short type, char *hwaddr);
489 extern struct net_device *dev_get_by_flags(unsigned short flags,
491 extern struct net_device *__dev_get_by_flags(unsigned short flags,
493 extern struct net_device *dev_get_by_name(const char *name);
494 extern struct net_device *__dev_get_by_name(const char *name);
495 extern struct net_device *dev_alloc(const char *name, int *err);
496 extern int dev_alloc_name(struct net_device *dev, const char *name);
497 extern int dev_open(struct net_device *dev);
498 extern int dev_close(struct net_device *dev);
500 extern int register_netdevice(struct net_device *dev);
501 extern int unregister_netdevice(struct net_device *dev);
505 extern struct net_device *dev_get_by_index(int ifindex);
506 extern struct net_device *__dev_get_by_index(int ifindex);
507 extern int dev_restart(struct net_device *dev);
509 typedef int gifconf_func_t(struct net_device * dev, char * bufptr, int len);
528 struct net_device *output_queue;
531 struct net_device blog_dev; /* Sorry. 8) */
539 static inline void __netif_schedule(struct net_device *dev) in __netif_schedule()
553 static inline void netif_schedule(struct net_device *dev) in netif_schedule()
559 static inline void netif_start_queue(struct net_device *dev) in netif_start_queue()
564 static inline void netif_wake_queue(struct net_device *dev) in netif_wake_queue()
570 static inline void netif_stop_queue(struct net_device *dev) in netif_stop_queue()
575 static inline int netif_queue_stopped(struct net_device *dev) in netif_queue_stopped()
580 static inline int netif_running(struct net_device *dev) in netif_running()
620 extern int dev_change_flags(struct net_device *, unsigned);
621 extern void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev);
638 static inline void dev_init_buffers(struct net_device *dev) in dev_init_buffers()
643 extern int netdev_finish_unregister(struct net_device *dev);
645 static inline void dev_put(struct net_device *dev) in dev_put()
659 static inline int netif_carrier_ok(struct net_device *dev) in netif_carrier_ok()
664 extern void __netdev_watchdog_up(struct net_device *dev);
666 static inline void netif_carrier_on(struct net_device *dev) in netif_carrier_on()
673 static inline void netif_carrier_off(struct net_device *dev) in netif_carrier_off()
679 static inline int netif_device_present(struct net_device *dev) in netif_device_present()
684 static inline void netif_device_detach(struct net_device *dev) in netif_device_detach()
692 static inline void netif_device_attach(struct net_device *dev) in netif_device_attach()
753 static inline int netif_rx_schedule_prep(struct net_device *dev) in netif_rx_schedule_prep()
763 static inline void __netif_rx_schedule(struct net_device *dev) in __netif_rx_schedule()
781 static inline void netif_rx_schedule(struct net_device *dev) in netif_rx_schedule()
790 static inline int netif_rx_reschedule(struct net_device *dev, int undo) in netif_rx_reschedule()
812 static inline void netif_rx_complete(struct net_device *dev) in netif_rx_complete()
824 static inline void netif_poll_disable(struct net_device *dev) in netif_poll_disable()
833 static inline void netif_poll_enable(struct net_device *dev) in netif_poll_enable()
841 static inline void __netif_rx_complete(struct net_device *dev) in __netif_rx_complete()
849 static inline void netif_tx_disable(struct net_device *dev) in netif_tx_disable()
858 extern void ether_setup(struct net_device *dev);
859 extern void fddi_setup(struct net_device *dev);
860 extern void tr_setup(struct net_device *dev);
861 extern void fc_setup(struct net_device *dev);
862 extern void fc_freedev(struct net_device *dev);
864 extern struct net_device *alloc_netdev(int sizeof_priv, const char *name,
865 void (*setup)(struct net_device *));
866 extern int register_netdev(struct net_device *dev);
867 extern void unregister_netdev(struct net_device *dev);
869 extern void dev_mc_upload(struct net_device *dev);
870 extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all);
871 extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly);
872 extern void dev_mc_discard(struct net_device *dev);
873 extern void dev_set_promiscuity(struct net_device *dev, int inc);
874 extern void dev_set_allmulti(struct net_device *dev, int inc);
875 extern void netdev_state_change(struct net_device *dev);
879 extern int netdev_register_fc(struct net_device *dev, void (*stimul)(struct net_device *dev));
885 extern int netdev_set_master(struct net_device *dev, struct net_device *master);
890 extern void dev_clear_fastroute(struct net_device *dev);
893 static inline void free_netdev(struct net_device *dev) in free_netdev()