diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-28 01:43:07 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-28 01:43:07 +0100 |
commit | e7b4948cbd3e4cacf4fe0f774b44d1f74029ea6d (patch) | |
tree | 7b4677b6eba5487ecf1c77ca21880ad0d3556617 /proto/ospf/ospf.h | |
parent | 919f5411c48f509a49400a1293e670f5d5d2bcf1 (diff) |
A simplification of the next-hop calculation.
Thanks to Joakim Tjernlund for the idea.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |