Skip to contentSkip to conversation

pkt_sched: sch_generic: Add Qdisc_ops peek() method.

PATCH RESEND In review Jarek Poplawski 1 participant 1 message Oct 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/6 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.

---
 include/net/sch_generic.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/net/sch_generic.h +1 -0
index 3fe49d8..f81f7c4 100644
@@ -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 *);
 
Signature · 1 line
1.5.6.5