summaryrefslogtreecommitdiff
path: root/proto/ospf/lsalib.c
AgeCommit message (Collapse)Author
2015-12-19Removed BITS_PER_IP_ADDRESS, MAX_PREFIX_LENGTH, BIRD_AFJan Moskyto Matejka
Explicit setting of AF_INET(6|) in IP socket creation. BFD set to listen on v6, without setting the V6ONLY flag to catch both v4 and v6 traffic. Squashing and minor changes by Ondrej Santiago Zajicek
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-05-01OSPF: Redesign LSA checksummingOndrej Zajicek
New LSA checksumming code separates generic Fletcher-16 and OSPF-specific code and avoids back and forth endianity conversions, making it much more readable and also several times faster.
2015-04-28OSPF: Fixes validation of LSA checksumsOndrej Zajicek
Prior to this patch, BIRD validates the OSPF LSA checksum by calculating a new checksum and comparing it with the checksum in the header. Due to the specifics of the Fletcher checksum used in OSPF, this is not necessarily correct as the checkbytes in the header may be calculated via a different means and end up with a different value that is nonetheless still correct. The documented means of validating the checksum as specified in RFC 905 B.4 is to calculate c0 and c1 from the unchanged contents of the packet, which must result in a zero value to be considered valid. Thanks to Chris Boot for the patch.
2014-07-19Whitespace cleanup in OSPF.Ondrej Zajicek
2014-06-26Temporary integrated OSPF commit.Ondrej Zajicek
2012-03-22NEWS and version update.Ondrej Zajicek
2011-07-20OSPF NSSA support, part one.Ondrej Zajicek
2011-07-03Fixes LSA checksum computation for larger LSAs.Ondrej Zajicek
2011-03-17Vastly improved OSPF reconfiguration.Ondrej Zajicek
Now it can handle a change in iface pattern structure. It can add, remove and reconfigure interfaces, vlinks and areas.
2010-05-02Merge several fixes suggested by Joakim Tjernlund.Ondrej Zajicek
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-25Skip LSA host<->network endianity conversions on big endians.Ondrej Zajicek
2010-04-24Fixes and enhancements in 'show ospf state' command.Ondrej Zajicek
Now it shows a distance, option to change showing reachable/all network nodes and better handling of AS-external LSAs in multiple areas. The command 'show ospf topology' was changed to not show stubnets in both OSPFv2 and OSPFv3 (previously it displayed stubnets in OSPFv2).
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2009-12-14Minor updates.Ondrej Zajicek
2009-12-11Implements protocol-specific Router ID for OSPF.Ondrej Zajicek
And fixes one minor bug.
2009-10-29Implements better checks on incoming packets and LSAs in OSPF.Ondrej Zajicek
2009-09-08Make endianity swapping simpler.Ondrej Zajicek
2009-09-08Temporary OSPFv3 development commit.Ondrej Zajicek
Finally, it is working.
2009-09-04Temporary OSPFv3 development commit (changing multicast support).Ondrej Zajicek
2009-08-27Temporary OSPFv3 development commitOndrej Zajicek
2009-08-25Temporary OSPFv3 development commitOndrej Zajicek
2009-08-21Temporary OSPFv3 development commitOndrej Zajicek
2009-07-23Use %R in OSPF when appropriate.Ondrej Zajicek
2009-07-05Another pile of ipa_from_u32() calls.Ondrej Zajicek
2005-02-20Unused code deleted.Ondrej Filip
2004-07-15Huge OSPF database redesign. Since now, all LSAs of all areasOndrej Filip
are in single database. This avoids duplication of external LSAs and fixes bug in external LSA distribution.
2004-07-14Multiple OSPF areas can be attached.Ondrej Filip
Origination of summary LSA works. Routing table calculation works. Virtual links works. Well, I hope, OSPF is fully compatible with RFC2328!!!!
2004-07-13Don't inform us about every ospf_age()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-07Bugfix in RT calculation.Ondrej Filip
2004-06-06Deleted unused parameters.Ondrej Filip
2004-06-06Be sure, that ospf_area is aged before routing table calculation.Ondrej Filip
2004-06-06Small cleanup, indentation and preparation for multiple areas routing table ↵Ondrej Filip
calculation.
2004-06-06Indentation.Ondrej Filip
2004-06-05... and a whole bunch of unused parameters and variables in ospf.Martin Mares
2004-06-04cleanup in lsupd.c, indenting, "struct proto" removed...Ondrej Filip
2004-06-04hello.c and hello.h cleaned up. No design changes.Ondrej Filip
2004-06-01Patch from Andreas Steinmetz <ast@domdv.de>Ondrej Filip
2003-08-26Endian-related bug fixes sent by Krzysztof Szuster <kszuster@polbox.com>Ondrej Filip
2003-08-23Many spelling mistakes fixed.Ondrej Filip
Thanks you Harry Moyes.
2002-11-13ABS should be a macro.Martin Mares
2002-04-03Small typo fixed.Ondrej Filip
2002-03-04New trace added.Ondrej Filip
2000-09-03Serious bug in ext lsa origination found. Going for 1.0.4.Ondrej Filip
2000-06-08Nasty bug in LSA refreshing. I didn't refesh my own copy! :-(Ondrej Filip
2000-06-08Missing parameters...Martin Mares
2000-06-07Better algoritmus of LSA aging.Ondrej Filip
2000-06-07I mark all LSA as in distance INFINITY in process of aging.Ondrej Filip
I don't have to WALK twice through it.