summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-05-11 11:50:02 +0200
committerOndrej Filip <feela@network.cz>1999-05-11 11:50:02 +0200
commitf7103dfcfe174d39c8aa10eb100550e3ec213981 (patch)
tree01382e7ea54e7576c34ac512938a6fbce6e1ea65 /proto/ospf/ospf.h
parent1a54d44a23de7b0bf0dfe62dd3d09d8167e5a597 (diff)
downloadbird-f7103dfcfe174d39c8aa10eb100550e3ec213981.tar
bird-f7103dfcfe174d39c8aa10eb100550e3ec213981.zip
Better logging output. Added 'struct proto *' info 'struct ospf iface'.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index b96ee91..ac20e9b 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -17,6 +17,10 @@
#error Multicast address not defined in IPv6
#endif
+struct proto_ospf {
+ struct proto proto;
+ list iface_list; /* Interfaces we really use */
+};
struct ospf_config {
struct proto_config c;
@@ -26,6 +30,7 @@ struct ospf_config {
struct ospf_iface {
node n;
+ struct proto_ospf *proto;
struct iface *iface; /* Nest's iface */
list sk_list; /* List of active sockets */
u32 area; /* OSPF Area */
@@ -63,7 +68,7 @@ struct ospf_iface {
#define PRIORITY_D 1
#define HELLOINT_D 10
#define DEADINT_D 4
-#define WAIT_D 40 /* Value of Wait timer - I didn't found it in RFC */
+#define WAIT_D 20 /* Value of Wait timer - I didn't found it in RFC */
};
@@ -79,9 +84,4 @@ struct ospf_patt {
byte mode;
};
-struct proto_ospf {
- struct proto proto;
- list iface_list; /* Interfaces we really use */
-};
-
#endif /* _BIRD_OSPF_H_ */