diff options
Diffstat (limited to 'proto/pipe')
-rw-r--r-- | proto/pipe/Doc | 1 | ||||
-rw-r--r-- | proto/pipe/pipe.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/proto/pipe/Doc b/proto/pipe/Doc index e69de29b..e7a6d6a7 100644 --- a/proto/pipe/Doc +++ b/proto/pipe/Doc @@ -0,0 +1 @@ +S pipe.c diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c index 3f41faaf..f7ba866b 100644 --- a/proto/pipe/pipe.c +++ b/proto/pipe/pipe.c @@ -6,6 +6,18 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ +/** + * DOC: Pipe + * + * The Pipe protocol is very simple. It just connects to two routing tables + * using proto_add_announce_hook() and whenever it receives a rt_notify() + * about a change in one of the tables, it converts it to a rte_update() + * in the other one. + * + * To avoid pipe loops, Pipe keeps a `being updated' flag in each routing + * table. + */ + #undef LOCAL_DEBUG #include "nest/bird.h" |