aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-10-31 03:43:45 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-31 03:43:45 -0400
commit90d841fd0a5e02affd4e2bbdde4f710c61599281 (patch)
tree994a98c9f7d465543209ef2380840565cf102c55 /include
parentcc0fe83525d734bdd9c883b45eca6bb22f286daa (diff)
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')
-rw-r--r--include/net/sch_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 3fe49d808957..f81f7c4d76fa 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -111,6 +111,7 @@ struct Qdisc_ops
111 111
112 int (*enqueue)(struct sk_buff *, struct Qdisc *); 112 int (*enqueue)(struct sk_buff *, struct Qdisc *);
113 struct sk_buff * (*dequeue)(struct Qdisc *); 113 struct sk_buff * (*dequeue)(struct Qdisc *);
114 struct sk_buff * (*peek)(struct Qdisc *);
114 int (*requeue)(struct sk_buff *, struct Qdisc *); 115 int (*requeue)(struct sk_buff *, struct Qdisc *);
115 unsigned int (*drop)(struct Qdisc *); 116 unsigned int (*drop)(struct Qdisc *);
116 117