summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-03 20:33:54 +0100
committerMartin Mares <mj@ucw.cz>1999-03-03 20:33:54 +0100
commitb2280748ad5087b5dab54dd4e423053ffe1f2387 (patch)
tree90997ee7e125ed00a7bc113e68676014f23bd43c /nest/protocol.h
parent84c7e1943f0dbf896b1dd8d02a21120aa00463f4 (diff)
downloadbird-b2280748ad5087b5dab54dd4e423053ffe1f2387.tar
bird-b2280748ad5087b5dab54dd4e423053ffe1f2387.zip
Introduced protocol priority (all 'normal' protocols should use the
default zero priority). No more "kernel syncer initialized before device routes" problems.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index 9463861..cb30754 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -30,6 +30,7 @@ struct protocol {
node n;
char *name;
unsigned debug; /* Default debugging flags */
+ int priority; /* Protocol priority (usually 0) */
void (*preconfig)(struct protocol *, struct config *); /* Just before configuring */
void (*postconfig)(struct proto_config *); /* After configuring each instance */