summaryrefslogtreecommitdiff
path: root/proto/pipe/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto/pipe/pipe.h')
-rw-r--r--proto/pipe/pipe.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/proto/pipe/pipe.h b/proto/pipe/pipe.h
new file mode 100644
index 00000000..7e9cf8ae
--- /dev/null
+++ b/proto/pipe/pipe.h
@@ -0,0 +1,23 @@
+/*
+ * BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
+ *
+ * (c) 1999 Martin Mares <mj@ucw.cz>
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#ifndef _BIRD_PIPE_H_
+#define _BIRD_PIPE_H_
+
+struct pipe_config {
+ struct proto_config c;
+ struct rtable_config *peer; /* Table we're connected to */
+};
+
+struct pipe_proto {
+ struct proto p;
+ struct rtable *peer;
+ struct pipe_proto *phantom;
+};
+
+#endif