diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-06-18 22:57:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-18 22:57:26 -0700 |
commit | 9972b25d0c6e7f8f893eb3444dea37b42b1201de (patch) | |
tree | 1f94d7bc245178d815669d4cf7db0f56ac71b752 /net | |
parent | 1e061ab2e5aa50a84d68ca654773632f9c425bb6 (diff) |
[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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions