summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-01 15:49:07 +0100
committerMartin Mares <mj@ucw.cz>2000-03-01 15:49:07 +0100
commit7293c5dd8175aac4650cb48c68c7dd278a74371e (patch)
treefd299303a66bb21dc91d56f39d7791772259e8be /nest/protocol.h
parent62ab789de5f5ace97a93fce551469f0229ba8c92 (diff)
downloadbird-7293c5dd8175aac4650cb48c68c7dd278a74371e.tar
bird-7293c5dd8175aac4650cb48c68c7dd278a74371e.zip
Added proto->hash_key which contains randomly generated hash key used
for calculation of hash functions depending on proto.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index f1afb53..0dacccb 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -1,7 +1,7 @@
/*
* BIRD Internet Routing Daemon -- Protocols
*
- * (c) 1998--1999 Martin Mares <mj@ucw.cz>
+ * (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -103,6 +103,7 @@ struct proto {
unsigned core_state; /* Core state machine (see below) */
unsigned core_goal; /* State we want to reach (see below) */
unsigned reconfiguring; /* We're shutting down due to reconfiguration */
+ u32 hash_key; /* Random key used for hashing of neighbors */
bird_clock_t last_state_change; /* Time of last state transition */
/*