X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_shaper.h;h=3b1b7ba198250955db9e53da9d7006e0616149f9;hb=6d66f5cd26e4c482e986130b7572f2735a0f7e8b;hp=004e6f09a6e2daf89387bb2d1794cdd377c0ec1d;hpb=21035ffeb7fa5abf6f178befc8b34752a629e1bf;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h index 004e6f09a6e..3b1b7ba1982 100644 --- a/include/linux/if_shaper.h +++ b/include/linux/if_shaper.h @@ -23,20 +23,8 @@ struct shaper __u32 shapeclock; unsigned long recovery; /* Time we can next clock a packet out on an empty queue */ - struct semaphore sem; - struct net_device_stats stats; + spinlock_t lock; struct net_device *dev; - int (*hard_start_xmit) (struct sk_buff *skb, - struct net_device *dev); - int (*hard_header) (struct sk_buff *skb, - struct net_device *dev, - unsigned short type, - void *daddr, - void *saddr, - unsigned len); - int (*rebuild_header)(struct sk_buff *skb); - int (*hard_header_cache)(struct neighbour *neigh, struct hh_cache *hh); - void (*header_cache_update)(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr); struct net_device_stats* (*get_stats)(struct net_device *dev); struct timer_list timer; };