diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-25 16:42:14 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-25 16:42:14 +0200 |
commit | b49e6f5a65d437cb7e7bdefe8397e0f550496012 (patch) | |
tree | 21e0f77023119de17ea8ab6ab7871b1026db92e6 /proto/ospf/ospf.h | |
parent | c3226991a061415fa83b757cbff678111c586e58 (diff) |
Temporary OSPFv3 development commit
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 1e46d3be..da0104de 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; }; |