summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-08-24 20:32:26 +0200
committerOndrej Filip <feela@network.cz>1999-08-24 20:32:26 +0200
commit1af664158d20e9887ca11b63fc062a63f333297a (patch)
treef49009ed7b2d1eaab47307adb588c4707f68f860 /proto/ospf/ospf.h
parente3121112ab8cda4b4e413a801e5626f9ffb02ca8 (diff)
downloadbird-1af664158d20e9887ca11b63fc062a63f333297a.tar
bird-1af664158d20e9887ca11b63fc062a63f333297a.zip
A structure for receiving DD seq packets added.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index dde436c..7ba566f 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 */
- sock *hello_sk; /* List of active sockets */
+ sock *hello_sk; /* Hello socket */
+ sock *ip_sk; /* IP socket (for DD ...) */
list neigh_list; /* List of neigbours */
u32 area; /* OSPF Area */
u16 cost; /* Cost of iface */
@@ -71,7 +72,9 @@ struct ospf_iface {
#define PRIORITY_D 1
#define HELLOINT_D 10
#define DEADC_D 4
-#define WAIT_DMH 2 /* Value of Wait timer - not found it in RFC - using 2*HELLO */
+#define WAIT_DMH 2 /* Value of Wait timer - not found it in RFC
+ * - using 2*HELLO
+ */
};
struct ospf_patt {
@@ -108,6 +111,13 @@ struct ospf_hello_packet {
u32 bdr;
};
+struct ospf_ddseq_packet {
+ struct ospf_packet ospf_packet;
+ u16 iface_mtu;
+ u16 options;
+ u32 ddseq_no;
+};
+
struct ospf_neighbor
{
node n;