X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_shaper.h;h=3b1b7ba198250955db9e53da9d7006e0616149f9;hb=785d3cd286f0bf67d1bf692559b9ae5de12678f5;hp=004e6f09a6e2daf89387bb2d1794cdd377c0ec1d;hpb=03d661d3d7dd2c20330d775c13157419049f1617;p=linux-2.6 diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h index 004e6f09a6..3b1b7ba198 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; };