aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r--include/net/sch_generic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index a92dc6208eff..9c69585a1be8 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -80,6 +80,7 @@ struct Qdisc
80struct Qdisc_class_ops 80struct Qdisc_class_ops
81{ 81{
82 /* Child qdisc manipulation */ 82 /* Child qdisc manipulation */
83 unsigned int (*select_queue)(struct Qdisc *, struct tcmsg *);
83 int (*graft)(struct Qdisc *, unsigned long cl, 84 int (*graft)(struct Qdisc *, unsigned long cl,
84 struct Qdisc *, struct Qdisc **); 85 struct Qdisc *, struct Qdisc **);
85 struct Qdisc * (*leaf)(struct Qdisc *, unsigned long cl); 86 struct Qdisc * (*leaf)(struct Qdisc *, unsigned long cl);
@@ -122,6 +123,7 @@ struct Qdisc_ops
122 void (*reset)(struct Qdisc *); 123 void (*reset)(struct Qdisc *);
123 void (*destroy)(struct Qdisc *); 124 void (*destroy)(struct Qdisc *);
124 int (*change)(struct Qdisc *, struct nlattr *arg); 125 int (*change)(struct Qdisc *, struct nlattr *arg);
126 void (*attach)(struct Qdisc *);
125 127
126 int (*dump)(struct Qdisc *, struct sk_buff *); 128 int (*dump)(struct Qdisc *, struct sk_buff *);
127 int (*dump_stats)(struct Qdisc *, struct gnet_dump *); 129 int (*dump_stats)(struct Qdisc *, struct gnet_dump *);
@@ -255,6 +257,8 @@ static inline void sch_tree_unlock(struct Qdisc *q)
255 257
256extern struct Qdisc noop_qdisc; 258extern struct Qdisc noop_qdisc;
257extern struct Qdisc_ops noop_qdisc_ops; 259extern struct Qdisc_ops noop_qdisc_ops;
260extern struct Qdisc_ops pfifo_fast_ops;
261extern struct Qdisc_ops mq_qdisc_ops;
258 262
259struct Qdisc_class_common 263struct Qdisc_class_common
260{ 264{