add mac partition support
[openwrt.git] / package / linux / kernel-patches / 203-include_net_pkt_sched_h-wlfix
1 --- linux-mips-cvs-21012005/include/net/pkt_sched.h 2004-11-19 01:28:51.000000000 +0100
2 +++ linux-broadcom/include/net/pkt_sched.h 2005-01-27 04:34:10.000000000 +0100
3 @@ -59,7 +59,11 @@
4 int (*enqueue)(struct sk_buff *, struct Qdisc *);
5 struct sk_buff * (*dequeue)(struct Qdisc *);
6 int (*requeue)(struct sk_buff *, struct Qdisc *);
7 +#ifdef CONFIG_BCM4710
8 + int (*drop)(struct Qdisc *);
9 +#else
10 unsigned int (*drop)(struct Qdisc *);
11 +#endif
12
13 int (*init)(struct Qdisc *, struct rtattr *arg);
14 void (*reset)(struct Qdisc *);
15 @@ -80,12 +84,19 @@
16 #define TCQ_F_THROTTLED 2
17 #define TCQ_F_INGRESS 4
18 struct Qdisc_ops *ops;
19 +#ifdef CONFIG_BCM4710
20 + struct Qdisc *next;
21 +#endif
22 u32 handle;
23 +#ifndef CONFIG_BCM4710
24 u32 parent;
25 +#endif
26 atomic_t refcnt;
27 struct sk_buff_head q;
28 struct net_device *dev;
29 +#ifndef CONFIG_BCM4710
30 struct list_head list;
31 +#endif
32
33 struct tc_stats stats;
34 int (*reshape_fail)(struct sk_buff *skb, struct Qdisc *q);
This page took 0.04278 seconds and 5 git commands to generate.