Fixes core state machine.
The core state machine was broken - it didn't free resourcesin START -> DOWN transition and might freed resources afterUP -> STOP transition before protocol turned down. It leadsto deadlock on olock acquisition when lock was not freed...
Fixes to the progdoc.
Inactive sticky neighbors have no scope.
Modified the neighbor cache to remember local addresses as well.
neighbor->scope now contains proper address scope which is zero (SCOPE_HOST)for local addresses, higher (SCOPE_LINK, ..., SCOPE_UNIVERSE) for remote ones.
Debugged printing and pruning of neighbor cache entries.
Fix stupid bug in neighbor cache.
if_connected() is again private.
Introduced neigh_connected_to() to serve the same purpose efficiently.
if_connected is usefull outside of neighbour cache.
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,several debug() calls converted to DBG.
Reimplemented neighbor cache. Now uses real hashing.