From 7df86c25fc6c871795265faebe02bf4dcecdd190 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 9 Jun 2004 12:39:49 +0000 Subject: Better checking of configuration. --- proto/ospf/ospf.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index ea34ac8..b554013 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -104,14 +104,14 @@ struct ospf_iface sock *ip_sk; /* IP socket (for DD ...) */ list neigh_list; /* List of neigbours */ u16 cost; /* Cost of iface */ - u16 rxmtint; /* number of seconds between LSA retransmissions */ u16 inftransdelay; /* The estimated number of seconds it takes to transmit a Link State Update Packet over this interface. LSAs contained in the update */ u8 priority; /* A router priority for DR election */ u16 helloint; /* number of seconds between hello sending */ - u16 waitint; /* number of sec before changing state from wait */ - u16 pollint; /* Poll interval */ + u32 waitint; /* number of sec before changing state from wait */ + u32 rxmtint; /* number of seconds between LSA retransmissions */ + u32 pollint; /* Poll interval */ u32 deadc; /* after "deadint" missing hellos is router dead */ u16 autype; u8 aukey[8]; @@ -453,18 +453,18 @@ struct proto_ospf struct ospf_iface_patt { struct iface_patt i; - int cost; - int helloint; - int rxmtint; - int pollint; - int inftransdelay; - int priority; - int waitint; - int deadc; - int type; - int autype; - int strictnbma; - int stub; + u32 cost; + u32 helloint; + u32 rxmtint; + u32 pollint; + u32 inftransdelay; + u32 priority; + u32 waitint; + u32 deadc; + u32 type; + u32 autype; + u32 strictnbma; + u32 stub; /* must be in network byte order */ #define AU_NONE htons(0) #define AU_SIMPLE htons(1) -- cgit v1.2.3