summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2010-04-27 11:28:44 +0200
committerOndrej Filip <feela@majklik.network.cz>2010-04-27 11:28:44 +0200
commit96599c957baa9c82bde91d610ce4f519aead05e9 (patch)
tree28fc5b3e90afb11e288a6c428d1203dd7992bd35 /proto/ospf/topology.h
parentba130172549ef2313f713e048083432f74e7d03d (diff)
parent9d1ee1388771a3caa6c23163571a80457adfab2c (diff)
downloadbird-96599c957baa9c82bde91d610ce4f519aead05e9.tar
bird-96599c957baa9c82bde91d610ce4f519aead05e9.zip
Merge branch 'master' of ssh://git.nic.cz/projects/bird/GIT/bird
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r--proto/ospf/topology.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index f6ba019..2481676 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -21,8 +21,11 @@ struct top_hash_entry
void *lsa_body;
bird_clock_t inst_t; /* Time of installation into DB */
ip_addr nh; /* Next hop */
- ip_addr lb; /* Link back */
- struct ospf_iface *nhi; /* Next hop interface */
+ ip_addr lb; /* In OSPFv2, link back address. In OSPFv3, any global address in the area useful for vlinks */
+ struct ospf_iface *nhi; /* Next hop interface - valid only in ospf_rt_spf()*/
+#ifdef OSPFv3
+ u32 lb_id; /* Interface ID of link back iface (for bcast or NBMA networks) */
+#endif
u32 dist; /* Distance from the root */
u16 ini_age;
u8 color;