]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_shaper.h
sysfs: add copyrights
[linux-2.6-omap-h63xx.git] / include / linux / if_shaper.h
index 004e6f09a6e2daf89387bb2d1794cdd377c0ec1d..3b1b7ba198250955db9e53da9d7006e0616149f9 100644 (file)
@@ -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;
 };