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