summaryrefslogtreecommitdiffstats
path: root/proto/pipe
diff options
context:
space:
mode:
Diffstat (limited to 'proto/pipe')
-rw-r--r--proto/pipe/pipe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index d9df03b..879135d 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -234,6 +234,13 @@ pipe_get_peer_table(struct proto *P)
return p->peer;
}
+struct proto_stats *
+pipe_get_peer_stats(struct proto *P)
+{
+ struct pipe_proto *p = (struct pipe_proto *) P;
+ return &p->phantom->p.stats;
+}
+
struct protocol proto_pipe = {
name: "Pipe",
template: "pipe%d",