From 1af664158d20e9887ca11b63fc062a63f333297a Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 24 Aug 1999 18:32:26 +0000 Subject: A structure for receiving DD seq packets added. --- proto/ospf/ospf.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'proto/ospf/ospf.h') 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; -- cgit v1.2.3