summaryrefslogtreecommitdiffstats
path: root/nest/neighbor.c
AgeCommit message (Collapse)Author
2010-04-28Better support for /31 networks.Ondrej Zajicek
2010-02-26Many changes in (mainly) kernel syncers.Ondrej Zajicek
- BSD kernel syncer is now self-conscious and can learn alien routes - important bugfix in BSD kernel syncer (crash after protocol restart) - many minor changes and bugfixes in kernel syncers and neighbor cache - direct protocol does not generate host and link local routes - min_scope check is removed, all routes have SCOPE_UNIVERSE by default - also fixes some remaining compiler warnings
2009-09-08Temporary OSPFv3 development commit.Ondrej Zajicek
Finally, it is working.
2009-08-28Temporary OSPFv3 development commitOndrej Zajicek
2009-08-27Temporary OSPFv3 development commitOndrej Zajicek
2008-12-08Fixes core state machine.Ondrej Zajicek
The core state machine was broken - it didn't free resources in START -> DOWN transition and might freed resources after UP -> STOP transition before protocol turned down. It leads to deadlock on olock acquisition when lock was not freed during previous stop. The current behavior is that resources, allocated during DOWN -> * transition, are freed in * -> DOWN transition, and flushing (scheduled in UP -> *) just counteract feeding (scheduled in * -> UP). Protocol fell down when both flushing is done (if needed) and protocol reports DOWN. BTW, is thera a reason why neighbour cache item acquired by protocol is not tracked by resource mechanism?
2000-06-07Fixes to the progdoc.Martin Mares
2000-06-01Documented.Martin Mares
2000-06-01Inactive sticky neighbors have no scope.Martin Mares
2000-06-01Modified the neighbor cache to remember local addresses as well.Martin Mares
neighbor->scope now contains proper address scope which is zero (SCOPE_HOST) for local addresses, higher (SCOPE_LINK, ..., SCOPE_UNIVERSE) for remote ones.
2000-05-08Debugged printing and pruning of neighbor cache entries.Martin Mares
2000-04-10Fix stupid bug in neighbor cache.Martin Mares
2000-03-27if_connected() is again private.Martin Mares
Introduced neigh_connected_to() to serve the same purpose efficiently.
2000-03-26if_connected is usefull outside of neighbour cache.Pavel Machek
2000-03-12Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,Martin Mares
several debug() calls converted to DBG().
2000-03-01Reimplemented neighbor cache. Now uses real hashing.Martin Mares