From b49e6f5a65d437cb7e7bdefe8397e0f550496012 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 25 Aug 2009 16:42:14 +0200 Subject: Temporary OSPFv3 development commit --- proto/ospf/ospf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 1e46d3b..da0104d 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -194,6 +194,7 @@ struct ospf_iface u32 dr_iface_id; /* if drid is valid, this is iface_id of DR (for connecting network) */ u8 instance_id; /* Used to differentiate between more OSPF instances on one interface */ + ip_addr lladdr; /* Used link-local addr */ #endif u8 type; /* OSPF view of type */ @@ -371,8 +372,8 @@ struct ospf_lsa_header u32 id; u32 rt; /* Advertising router */ s32 sn; /* LS Sequence number */ -#define LSA_INITSEQNO 0x80000001 -#define LSA_MAXSEQNO 0x7fffffff +#define LSA_INITSEQNO ((s32) 0x80000001) +#define LSA_MAXSEQNO ((s32) 0x7fffffff) u16 checksum; u16 length; }; -- cgit v1.2.3