diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-30 13:31:05 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-30 13:31:05 +0200 |
commit | c6c56264361e102691fe42134ab585f631f83898 (patch) | |
tree | 6636ad67900ebf8e5c21c4be5c023e2e0df7e7ca /proto/ospf/ospf.h | |
parent | e80e9d0da5d737b7f6e65358067f62a6ac85f4fe (diff) | |
download | bird-c6c56264361e102691fe42134ab585f631f83898.tar bird-c6c56264361e102691fe42134ab585f631f83898.zip |
Sync with nest's rt table and some minor improvements.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 39f59bd..bd45392 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -32,6 +32,7 @@ #define OSPF_VERSION 2 #define AllSPFRouters ipa_from_u32(0xe0000005) /* 224.0.0.5 */ #define AllDRouters ipa_from_u32(0xe0000006) /* 224.0.0.6 */ +#define DEFAULTDES ipa_from_u32(0) #else #error Multicast address not defined in IPv6 #endif @@ -40,8 +41,7 @@ #define LSREFRESHTIME 1800 /* 30 minutes */ #define MINLSINTERVAL 5 #define MINLSARRIVAL 1 -#define LSINFINITY 0xffffff -/*#define DEFAULTDES 0.0.0.0 FIXME: How to define it? */ +#define LSINFINITY 0xffff /* RFC says 0xffffff ??? */ struct ospf_config { struct proto_config c; @@ -203,11 +203,11 @@ struct ospf_lsa_rt_link_tos { /* Actually we ignore TOS. This is useless */ }; struct ospf_lsa_net { - u32 netmask; + ip_addr netmask; }; struct ospf_lsa_summ { - u32 netmask; + ip_addr netmask; }; struct ospf_lsa_summ_net { @@ -217,7 +217,7 @@ struct ospf_lsa_summ_net { }; struct ospf_lsa_ext { - u32 netmask; + ip_addr netmask; }; struct ospf_lsa_ext_tos { |