diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-08-18 13:19:33 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-08-18 13:19:33 +0000 |
commit | bce8a34b128f1c0495f3f7a28d832d9c2b4a9543 (patch) | |
tree | becf50fe874276a0d3880875a0b5a1d59c0d5cb9 /proto/rip/rip.h | |
parent | f651941402079052fbdabf64092e7dd4a6a8cafe (diff) |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h index 911d3473..4dcc396d 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 { |