aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-09-04 02:41:20 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-06 05:07:05 -0400
commit589983cd21f4a2e4ed74a958805a90fa676845c5 (patch)
tree21ce556958da203400d3e9d30911ff330be39e90 /include/net/sch_generic.h
parentaf356afa010f3cd2c8b8fcc3bce90f7a7b7ec02a (diff)
net_sched: move dev_graft_qdisc() to sch_generic.c
It will be used in a following patch by the multiqueue qdisc. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r--include/net/sch_generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index a48a4cc7258b..a92dc6208eff 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -302,6 +302,8 @@ extern void dev_init_scheduler(struct net_device *dev);
302extern void dev_shutdown(struct net_device *dev); 302extern void dev_shutdown(struct net_device *dev);
303extern void dev_activate(struct net_device *dev); 303extern void dev_activate(struct net_device *dev);
304extern void dev_deactivate(struct net_device *dev); 304extern void dev_deactivate(struct net_device *dev);
305extern struct Qdisc *dev_graft_qdisc(struct netdev_queue *dev_queue,
306 struct Qdisc *qdisc);
305extern void qdisc_reset(struct Qdisc *qdisc); 307extern void qdisc_reset(struct Qdisc *qdisc);
306extern void qdisc_destroy(struct Qdisc *qdisc); 308extern void qdisc_destroy(struct Qdisc *qdisc);
307extern void qdisc_tree_decrease_qlen(struct Qdisc *qdisc, unsigned int n); 309extern void qdisc_tree_decrease_qlen(struct Qdisc *qdisc, unsigned int n);