]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PKT_SCHED]: Generic queue management interface for qdiscs using internal skb queues
authorThomas Graf <tgraf@suug.ch>
Sun, 19 Jun 2005 05:57:26 +0000 (22:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2005 05:57:26 +0000 (22:57 -0700)
commit9972b25d0c6e7f8f893eb3444dea37b42b1201de
tree1f94d7bc245178d815669d4cf7db0f56ac71b752
parent1e061ab2e5aa50a84d68ca654773632f9c425bb6
[PKT_SCHED]: Generic queue management interface for qdiscs using internal skb queues

Implements an interface to be used by leaf qdiscs maintaining an internal
skb queue. The interface maintains a backlog in bytes additionaly
to the skb_queue_len() maintained by the queue itself. Relevant statistics
get incremented automatically. Every function comes in two variants, one
assuming Qdisc->q is used as queue and the second taking a sk_buff_head
as argument. Be aware that, if you use multiple queues, you still have to
maintain the Qdisc->q.qlen counter yourself.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h