projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc0fe83
)
pkt_sched: sch_generic: Add Qdisc_ops peek() method.
author
Jarek Poplawski
<jarkao2@gmail.com>
Fri, 31 Oct 2008 07:43:45 +0000
(
00:43
-0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 31 Oct 2008 07:43:45 +0000
(
00:43
-0700)
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>
include/net/sch_generic.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sch_generic.h
b/include/net/sch_generic.h
index 3fe49d808957309f29f1cb9532892fc06e936f2e..f81f7c4d76fa5d5126662776e70bf70a0eb1ce66 100644
(file)
--- 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 *);