diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index ba5d1236aa17..3a0ed7f9e801 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -41,7 +41,7 @@ | |||
41 | struct divert_blk; | 41 | struct divert_blk; |
42 | struct vlan_group; | 42 | struct vlan_group; |
43 | struct ethtool_ops; | 43 | struct ethtool_ops; |
44 | struct netpoll; | 44 | struct netpoll_info; |
45 | /* source back-compat hooks */ | 45 | /* source back-compat hooks */ |
46 | #define SET_ETHTOOL_OPS(netdev,ops) \ | 46 | #define SET_ETHTOOL_OPS(netdev,ops) \ |
47 | ( (netdev)->ethtool_ops = (ops) ) | 47 | ( (netdev)->ethtool_ops = (ops) ) |
@@ -164,12 +164,6 @@ struct netif_rx_stats | |||
164 | unsigned total; | 164 | unsigned total; |
165 | unsigned dropped; | 165 | unsigned dropped; |
166 | unsigned time_squeeze; | 166 | unsigned time_squeeze; |
167 | unsigned throttled; | ||
168 | unsigned fastroute_hit; | ||
169 | unsigned fastroute_success; | ||
170 | unsigned fastroute_defer; | ||
171 | unsigned fastroute_deferred_out; | ||
172 | unsigned fastroute_latency_reduction; | ||
173 | unsigned cpu_collision; | 167 | unsigned cpu_collision; |
174 | }; | 168 | }; |
175 | 169 | ||
@@ -468,7 +462,7 @@ struct net_device | |||
468 | unsigned char *haddr); | 462 | unsigned char *haddr); |
469 | int (*neigh_setup)(struct net_device *dev, struct neigh_parms *); | 463 | int (*neigh_setup)(struct net_device *dev, struct neigh_parms *); |
470 | #ifdef CONFIG_NETPOLL | 464 | #ifdef CONFIG_NETPOLL |
471 | struct netpoll *np; | 465 | struct netpoll_info *npinfo; |
472 | #endif | 466 | #endif |
473 | #ifdef CONFIG_NET_POLL_CONTROLLER | 467 | #ifdef CONFIG_NET_POLL_CONTROLLER |
474 | void (*poll_controller)(struct net_device *dev); | 468 | void (*poll_controller)(struct net_device *dev); |
@@ -562,12 +556,9 @@ static inline int unregister_gifconf(unsigned int family) | |||
562 | 556 | ||
563 | struct softnet_data | 557 | struct softnet_data |
564 | { | 558 | { |
565 | int throttle; | 559 | struct net_device *output_queue; |
566 | int cng_level; | ||
567 | int avg_blog; | ||
568 | struct sk_buff_head input_pkt_queue; | 560 | struct sk_buff_head input_pkt_queue; |
569 | struct list_head poll_list; | 561 | struct list_head poll_list; |
570 | struct net_device *output_queue; | ||
571 | struct sk_buff *completion_queue; | 562 | struct sk_buff *completion_queue; |
572 | 563 | ||
573 | struct net_device backlog_dev; /* Sorry. 8) */ | 564 | struct net_device backlog_dev; /* Sorry. 8) */ |
@@ -925,10 +916,6 @@ extern int skb_checksum_help(struct sk_buff *skb, int inward); | |||
925 | extern void net_enable_timestamp(void); | 916 | extern void net_enable_timestamp(void); |
926 | extern void net_disable_timestamp(void); | 917 | extern void net_disable_timestamp(void); |
927 | 918 | ||
928 | #ifdef CONFIG_SYSCTL | ||
929 | extern char *net_sysctl_strdup(const char *s); | ||
930 | #endif | ||
931 | |||
932 | #endif /* __KERNEL__ */ | 919 | #endif /* __KERNEL__ */ |
933 | 920 | ||
934 | #endif /* _LINUX_DEV_H */ | 921 | #endif /* _LINUX_DEV_H */ |