summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index e260dc0..75ffb6d 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -195,8 +195,13 @@ struct ospf_iface
ip_addr bdrip; /* Backup DR */
u32 drid;
u32 bdrid;
+ s16 rt_pos_beg; /* Position of iface in Router-LSA, begin, inclusive */
+ s16 rt_pos_end; /* Position of iface in Router-LSA, end, exclusive */
#ifdef OSPFv3
+ s16 px_pos_beg; /* Position of iface in Rt Prefix-LSA, begin, inclusive */
+ s16 px_pos_end; /* Position of iface in Rt Prefix-LSA, end, exclusive */
+
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 */