Better algoritmus of LSA aging.
I mark all LSA as in distance INFINITY in process of aging.I don't have to WALK twice through it.
Doc in lsalib.c + related minor changes.
All die() renamed to bug().
First calculate checksum and then send refreshed LSA!
Many bugfixes (I don't remember all of them):Added link ID calculation for external routes with same prefix but different mask.Bugfix in NET lsa origination.Bugfix in NET hashing.Bugfix in LSA installing.
Removed lots of trailing newlines in log messages.
Please note that the only calls which don't add newlines automatically(i.e., don't print a full line of output) are debug() and DBG.
Install newer lsa even if nothing in its body change.
Better LSA Aging.
Calculate checksum when reflooding (after min ls_refresh).
Very stuping bug. (I took me 4 hours to find it!)I just wrote "=!" instead of "!=". :-(((((((
And finally, Premature aging works. :-)
Sort cleanup in aging.
LSArt origination and routing table calculation is now not doing sooften. Instead of calculation I just schedule it latter.
Reflood your old lsa.
Don't run rt calculation twice.
Bug in lsa comparision.
Yeah, the endianity bug found.
Typo in comment.
Bugfix in ip_addr endianity.
Flushing of old LSAs added.
Bugfix in Network lsa originatingBugfix in ntohlsab() and htonlsab()For calculating of rt I use my own fib. I delete routes! ;-)
Cleanup of code. Some arguments of functions were useless.
Aging of lsa database added.
Many small changes and bug fixes. Routing table calculation works.I'm waiting for rt lookup to add stub networks.
Sync with nest's rt table and some minor improvements.
LSupdate processing improved. Now there is some bug in hashing. :-(
Work on lsupdates continues. Some checksum cleanup.
lsa_cmp moved into lsalib.c
LSA checksum works. But it's very uneficient on little endian systems.
Sending of lspd as responce to lsreq done.