summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-05-31 20:24:54 +0200
committerOndrej Filip <feela@network.cz>1999-05-31 20:24:54 +0200
commit75b84c34e3434209517f2ebc8160f39d33e3735e (patch)
tree362cba7cab851134a34223454886389e5673c99f /proto/ospf/ospf.h
parent4a4911a36a865525f5de86ea8b575164ea9a855a (diff)
downloadbird-75b84c34e3434209517f2ebc8160f39d33e3735e.tar
bird-75b84c34e3434209517f2ebc8160f39d33e3735e.zip
Sending and receving of hello pkts works. No I will start building neighbor
database.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index b827294..a0fdf81 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -33,7 +33,8 @@ struct ospf_iface {
node n;
struct proto_ospf *proto;
struct iface *iface; /* Nest's iface */
- list sk_list; /* List of active sockets */
+ sock *hello_sk; /* List of active sockets */
+ list neigh_list; /* List of neigbours */
u32 area; /* OSPF Area */
u16 cost; /* Cost of iface */
int rxmtint; /* number of seconds between LSA retransmissions */
@@ -73,11 +74,6 @@ struct ospf_iface {
#define WAIT_DMH 2 /* Value of Wait timer - not found it in RFC - using 2*HELLO */
};
-struct ospf_sock {
- node n;
- sock *sk;
-};
-
struct ospf_patt {
struct iface_patt i;