diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-09 04:40:57 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:52 -0400 |
commit | 3b04ddde02cf1b6f14f2697da5c20eca5715017f (patch) | |
tree | 9da1341a5a399a507b5ea6bf5a3047506b8d8f8f /include/linux/if_shaper.h | |
parent | b95cce3576813ac3f86bafa6b5daaaaf7574b0fe (diff) |
[NET]: Move hardware header operations out of netdevice.
Since hardware header operations are part of the protocol class
not the device instance, make them into a separate object and
save memory.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_shaper.h')
-rw-r--r-- | include/linux/if_shaper.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h index 51574743aa1b..3b1b7ba19825 100644 --- a/include/linux/if_shaper.h +++ b/include/linux/if_shaper.h | |||
@@ -25,17 +25,6 @@ struct shaper | |||
25 | an empty queue */ | 25 | an empty queue */ |
26 | spinlock_t lock; | 26 | spinlock_t lock; |
27 | struct net_device *dev; | 27 | struct net_device *dev; |
28 | int (*hard_start_xmit) (struct sk_buff *skb, | ||
29 | struct net_device *dev); | ||
30 | int (*hard_header) (struct sk_buff *skb, | ||
31 | struct net_device *dev, | ||
32 | unsigned short type, | ||
33 | void *daddr, | ||
34 | void *saddr, | ||
35 | unsigned len); | ||
36 | int (*rebuild_header)(struct sk_buff *skb); | ||
37 | int (*hard_header_cache)(struct neighbour *neigh, struct hh_cache *hh); | ||
38 | void (*header_cache_update)(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr); | ||
39 | struct net_device_stats* (*get_stats)(struct net_device *dev); | 28 | struct net_device_stats* (*get_stats)(struct net_device *dev); |
40 | struct timer_list timer; | 29 | struct timer_list timer; |
41 | }; | 30 | }; |