summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.h
AgeCommit message (Collapse)Author
2022-05-30Squashing the route attribute structure into one level.Maria Matejka
For now, all route attributes are stored as eattrs in ea_list. This should make route manipulation easier and it also allows for a layered approach of route attributes where updates from filters will be stored as an overlay over the previous version.
2022-05-26Moved nexthop from struct rta to extended attribute.Maria Matejka
This doesn't do anything more than to put the whole structure inside adata. The overall performance is certainly going downhill; we'll optimize this later. Anyway, this is one of the latest items inside rta and in several commits we may drop rta completely and move to eattrs-only routes.
2019-06-30OSPF: Support for graceful restartOndrej Zajicek (work)
Implement OSPFv2 (RFC 3623) and OSPFv3 (RFC 5187) graceful restart, for both restarting and helper sides. Graceful restart is initiated by 'graceful down' command.
2017-02-22Merge branch 'int-new' into nexthop-mergedJan Moskyto Matejka
2017-02-08Merge branch 'master' into int-newOndrej Zajicek (work)
2016-12-22Merged multipath and single-path data structures.Jan Moskyto Matejka
Dropped struct mpnh and mpnh_*() Now struct nexthop exists, nexthop_*(), and also included struct nexthop into struct rta. Also converted RTD_DEVICE and RTD_ROUTER to RTD_UNICAST. If it is needed to distinguish between these two cases, RTD_DEVICE is equivalent to IPA_ZERO(a->nh.gw), RTD_ROUTER is then IPA_NONZERO(a->nh.gw). From now on, we also explicitely want C99 compatible compiler. We assume that this 20-year norm should be known almost everywhere.
2016-12-13OSPF: Fix net-summary origination combined with stubnet optionOndrej Zajicek (work)
Stubnet nodes in OSPF FIB were removed during rt_sync(), but the pointer remained in top_hash_entry.nf, so net-summary LSA origination was confused, reported 'LSA ID collision' and net-summary LSAs were not originated properly. Thanks to Naveen Chowdary Yerramneni for bugreport and analysis.
2015-12-29Move ID allocator to a separate file and use it also in OSPFOndrej Zajicek (work)
2015-11-05Initial commit on integrated BIRDOndrej Zajicek (work)
New data types net_addr and variants (in lib/net.h) describing network addresses (prefix/pxlen). Modifications of FIB structures to handle these data types and changing everything to use these data types instead of prefix/pxlen pairs where possible. The commit is WiP, some protocols are not yet updated (BGP, Kernel), and the code contains some temporary scaffolding. Comments are welcome.
2015-06-08Moving of mulipath merging code from OSPF to nestOndrej Zajicek
2014-07-18Temporary integrated OSPF commit.Ondrej Zajicek
2014-06-26Temporary integrated OSPF commit.Ondrej Zajicek
2014-04-23Extends multipath support for OSPF.Ondrej Zajicek
Fixes cases where the same network or external route are propagated by several OSPF routes and some other corner cases in next hop construction and ECMP. Allows to specify whether external routes should be merged. Thanks to Peter Christensen for the original patch.
2011-09-03Fixes for OSPF NSSA handling.Ondrej Zajicek
2011-08-08OSPF NSSA support, inter-area LSA translation.Ondrej Zajicek
2010-12-07Multipath support for OSPFOndrej Zajicek
2010-05-26Fixes a bug in duplicit configured stubnets.Ondrej Zajicek
If there was the same configured stubnet on local and remote router, the remote route always won regardless of its cost.
2010-05-02OSPF: most of summary LSA orig./flush logic rewritten.Ondrej Zajicek
Fixes many bugs in the old code and makes it much cleaner.
2010-04-21Fixes several problems in OSPF vlink implementation.Ondrej Zajicek
2010-02-08Shows source (Router ID) for OSPF routes and adds such attribute.Ondrej Zajicek
A sad thing is that we does not have a 'router_id' filter type, so it must be given as decimal number in filters.
2010-01-08A fix for broken multi-area OSPFOndrej Zajicek
2009-08-21Temporary OSPFv3 development commitOndrej Zajicek
2005-02-18Minor bugfix: Summary LSA for aggregated area was always propagated withOndrej Filip
metric = 1. Now it's metric of most distant component.
2005-02-13Many bugfixes in routing table calculation and summary LSA origination.Ondrej Filip
2004-06-25A lot of changes:Ondrej Filip
- metric is 3 byte long now - summary lsa originating - more OSPF areas possible - virtual links - better E1/E2 routes handling - some bug fixes.. I have to do: - md5 auth (last mandatory item from rfc2328) - !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs) - 2328 appendig E
2004-06-11Better routing table calculation. We are ready to work withOndrej Filip
multiple OSPF areas.
2004-06-06Small cleanup, indentation and preparation for multiple areas routing table ↵Ondrej Filip
calculation.
2004-06-06Indentation.Ondrej Filip
2001-06-12Install route into main routing table just if it's necessary.Ondrej Filip
2000-05-31Added tagging of external LSA.Ondrej Filip
2000-05-10Calculation of external routes.Ondrej Filip
2000-05-09Just added declaration of AS Ext routes calculation.Ondrej Filip
2000-05-04Bugfix in Network lsa originatingOndrej Filip
Bugfix in ntohlsab() and htonlsab() For calculating of rt I use my own fib. I delete routes! ;-)
2000-05-03Cleanup of code. Some arguments of functions were useless.Ondrej Filip
2000-05-02Route calculation for stub networks.Ondrej Filip
2000-04-30Many small changes and bug fixes. Routing table calculation works.Ondrej Filip
I'm waiting for rt lookup to add stub networks.
2000-04-30Sync with nest's rt table and some minor improvements.Ondrej Filip
2000-04-30RT calculation strongly simplified. Now, I don't need anyOndrej Filip
memory allocation. :-)
2000-04-29Calculating of nexts hop(s) added.Ondrej Filip
2000-04-26Routing table calculation. Dijkstra done.Ondrej Filip