Home | History | Annotate | Download | only in linux

Lines Matching refs:net_device

257  *	FIXME: cleanup struct net_device such that network protocol info
261 struct net_device
292 struct net_device *next;
295 int (*init)(struct net_device *dev);
329 struct net_device *next_sched;
336 struct net_device_stats* (*get_stats)(struct net_device *dev);
337 struct iw_statistics* (*get_wireless_stats)(struct net_device *dev);
366 struct net_device *master; /* Pointer to master device of a group,
396 int (*poll) (struct net_device *dev, int *quota);
434 struct net_device *dev);
461 void (*uninit)(struct net_device *dev);
463 void (*destructor)(struct net_device *dev);
466 int (*open)(struct net_device *dev);
467 int (*stop)(struct net_device *dev);
470 struct net_device *dev,
477 void (*set_multicast_list)(struct net_device *dev);
479 int (*set_mac_address)(struct net_device *dev,
482 int (*do_ioctl)(struct net_device *dev,
485 int (*set_config)(struct net_device *dev,
491 struct net_device *dev,
494 int (*change_mtu)(struct net_device *dev, int new_mtu);
497 void (*tx_timeout) (struct net_device *dev);
499 void (*vlan_rx_register)(struct net_device *dev,
501 void (*vlan_rx_add_vid)(struct net_device *dev,
503 void (*vlan_rx_kill_vid)(struct net_device *dev,
508 int (*neigh_setup)(struct net_device *dev, struct neigh_parms *);
513 void (*poll_controller)(struct net_device *dev);
533 static inline void *netdev_priv(struct net_device *dev)
535 return (char *)dev + ((sizeof(struct net_device)
548 struct net_device *dev; /* NULL is wildcarded here */
550 struct net_device *,
552 struct net_device *);
563 extern struct net_device loopback_dev; /* The loopback */
564 extern struct net_device *dev_base; /* All devices */
567 extern int netdev_boot_setup_check(struct net_device *dev);
569 extern struct net_device *dev_getbyhwaddr(unsigned short type, char *hwaddr);
570 extern struct net_device *dev_getfirstbyhwtype(unsigned short type);
575 extern struct net_device *dev_get_by_flags(unsigned short flags,
577 extern struct net_device *dev_get_by_name(const char *name);
578 extern struct net_device *__dev_get_by_name(const char *name);
579 extern int dev_alloc_name(struct net_device *dev, const char *name);
580 extern int dev_open(struct net_device *dev);
581 extern int dev_close(struct net_device *dev);
583 extern int register_netdevice(struct net_device *dev);
584 extern int unregister_netdevice(struct net_device *dev);
585 extern void free_netdev(struct net_device *dev);
590 extern struct net_device *dev_get_by_index(int ifindex);
591 extern struct net_device *__dev_get_by_index(int ifindex);
592 extern int dev_restart(struct net_device *dev);
597 typedef int gifconf_func_t(struct net_device * dev, char __user * bufptr, int len);
611 struct net_device *output_queue;
616 struct net_device backlog_dev; /* Sorry. 8) */
626 extern void __netif_schedule(struct net_device *dev);
628 static inline void netif_schedule(struct net_device *dev)
634 static inline void netif_start_queue(struct net_device *dev)
639 static inline void netif_wake_queue(struct net_device *dev)
649 static inline void netif_stop_queue(struct net_device *dev)
658 static inline int netif_queue_stopped(const struct net_device *dev)
663 static inline int netif_running(const struct net_device *dev)
700 extern unsigned dev_get_flags(const struct net_device *);
701 extern int dev_change_flags(struct net_device *, unsigned);
702 extern int dev_change_name(struct net_device *, char *);
703 extern int dev_set_mtu(struct net_device *, int);
704 extern int dev_set_mac_address(struct net_device *,
707 struct net_device *dev);
716 static inline void dev_put(struct net_device *dev)
721 static inline void dev_hold(struct net_device *dev)
735 extern void linkwatch_fire_event(struct net_device *dev);
737 static inline int netif_carrier_ok(const struct net_device *dev)
742 extern void __netdev_watchdog_up(struct net_device *dev);
744 extern void netif_carrier_on(struct net_device *dev);
746 extern void netif_carrier_off(struct net_device *dev);
748 static inline void netif_dormant_on(struct net_device *dev)
754 static inline void netif_dormant_off(struct net_device *dev)
760 static inline int netif_dormant(const struct net_device *dev)
766 static inline int netif_oper_up(const struct net_device *dev) {
772 static inline int netif_device_present(struct net_device *dev)
777 extern void netif_device_detach(struct net_device *dev);
779 extern void netif_device_attach(struct net_device *dev);
832 static inline int __netif_rx_schedule_prep(struct net_device *dev)
838 static inline int netif_rx_schedule_prep(struct net_device *dev)
847 extern void __netif_rx_schedule(struct net_device *dev);
851 static inline void netif_rx_schedule(struct net_device *dev)
860 static inline int netif_rx_reschedule(struct net_device *dev, int undo)
881 static inline void netif_rx_complete(struct net_device *dev)
893 static inline void netif_poll_disable(struct net_device *dev)
900 static inline void netif_poll_enable(struct net_device *dev)
908 static inline void __netif_rx_complete(struct net_device *dev)
916 static inline void netif_tx_lock(struct net_device *dev)
922 static inline void netif_tx_lock_bh(struct net_device *dev)
928 static inline int netif_tx_trylock(struct net_device *dev)
936 static inline void netif_tx_unlock(struct net_device *dev)
942 static inline void netif_tx_unlock_bh(struct net_device *dev)
948 static inline void netif_tx_disable(struct net_device *dev)
957 extern void ether_setup(struct net_device *dev);
960 extern struct net_device *alloc_netdev(int sizeof_priv, const char *name,
961 void (*setup)(struct net_device *));
962 extern int register_netdev(struct net_device *dev);
963 extern void unregister_netdev(struct net_device *dev);
965 extern void dev_mc_upload(struct net_device *dev);
966 extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all);
967 extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly);
968 extern void dev_mc_discard(struct net_device *dev);
969 extern void dev_set_promiscuity(struct net_device *dev, int inc);
970 extern void dev_set_allmulti(struct net_device *dev, int inc);
971 extern void netdev_state_change(struct net_device *dev);
972 extern void netdev_features_change(struct net_device *dev);
978 extern int netdev_set_master(struct net_device *dev, struct net_device *master);
982 extern void netdev_rx_csum_fault(struct net_device *dev);
984 static inline void netdev_rx_csum_fault(struct net_device *dev)
1011 static inline int netif_needs_gso(struct net_device *dev, struct sk_buff *skb)
1023 struct net_device *dev = skb->dev;
1024 struct net_device *master = dev->master;