diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2008-10-31 07:43:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-31 07:43:45 (GMT) |
commit | 90d841fd0a5e02affd4e2bbdde4f710c61599281 (patch) | |
tree | 994a98c9f7d465543209ef2380840565cf102c55 /include/net/sch_generic.h | |
parent | cc0fe83525d734bdd9c883b45eca6bb22f286daa (diff) | |
download | linux-fsl-qoriq-90d841fd0a5e02affd4e2bbdde4f710c61599281.tar.xz |
pkt_sched: sch_generic: Add Qdisc_ops peek() method.
Add Qdisc_ops peek() method in order to replace requeuing.
Based on ideas and patches of Herbert Xu, Patrick McHardy and
David S. Miller.
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index 3fe49d8..f81f7c4 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -111,6 +111,7 @@ struct Qdisc_ops int (*enqueue)(struct sk_buff *, struct Qdisc *); struct sk_buff * (*dequeue)(struct Qdisc *); + struct sk_buff * (*peek)(struct Qdisc *); int (*requeue)(struct sk_buff *, struct Qdisc *); unsigned int (*drop)(struct Qdisc *); |