summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-08-18 15:19:33 +0200
committerPavel Machek <pavel@ucw.cz>1999-08-18 15:19:33 +0200
commitbce8a34b128f1c0495f3f7a28d832d9c2b4a9543 (patch)
treebecf50fe874276a0d3880875a0b5a1d59c0d5cb9 /proto/rip/rip.h
parentf651941402079052fbdabf64092e7dd4a6a8cafe (diff)
downloadbird-bce8a34b128f1c0495f3f7a28d832d9c2b4a9543.tar
bird-bce8a34b128f1c0495f3f7a28d832d9c2b4a9543.zip
Few fixme's fixed in rip (will not crash any more on request for
sending routing table - hopefully). Next few steps in md5 authentication (not yet complete).
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 911d347..4dcc396 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -8,6 +8,9 @@
#define EA_RIP_TAG EA_CODE(EAP_RIP, 0)
#define EA_RIP_METRIC EA_CODE(EAP_RIP, 1)
+#define PACKET_MAX 25
+#define PACKET_MD5_MAX 18 /* FIXME */
+
struct rip_connection {
node n;
@@ -115,6 +118,10 @@ struct rip_proto_config {
#define AT_NONE 0
#define AT_PLAINTEXT 2
#define AT_MD5 3
+ int honour;
+#define HO_NEVER 0
+#define HO_NEIGHBOUR 1
+#define HO_ALWAYS 2
};
struct rip_proto {