summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
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 dde436c9..7ba566fa 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;