From e7b4948cbd3e4cacf4fe0f774b44d1f74029ea6d Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 28 Dec 2010 01:43:07 +0100 Subject: A simplification of the next-hop calculation. Thanks to Joakim Tjernlund for the idea. --- proto/ospf/ospf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index e260dc08..75ffb6de 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 */ -- cgit v1.2.3