diff options
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index b96c3d9e10a8..bc2a09da21b1 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h | |||
@@ -23,6 +23,11 @@ struct qdisc_rate_table | |||
23 | int refcnt; | 23 | int refcnt; |
24 | }; | 24 | }; |
25 | 25 | ||
26 | enum qdisc_state_t | ||
27 | { | ||
28 | __QDISC_STATE_RUNNING, | ||
29 | }; | ||
30 | |||
26 | struct Qdisc | 31 | struct Qdisc |
27 | { | 32 | { |
28 | int (*enqueue)(struct sk_buff *skb, struct Qdisc *dev); | 33 | int (*enqueue)(struct sk_buff *skb, struct Qdisc *dev); |
@@ -36,6 +41,7 @@ struct Qdisc | |||
36 | u32 handle; | 41 | u32 handle; |
37 | u32 parent; | 42 | u32 parent; |
38 | atomic_t refcnt; | 43 | atomic_t refcnt; |
44 | unsigned long state; | ||
39 | struct sk_buff *gso_skb; | 45 | struct sk_buff *gso_skb; |
40 | struct sk_buff_head q; | 46 | struct sk_buff_head q; |
41 | struct netdev_queue *dev_queue; | 47 | struct netdev_queue *dev_queue; |