Birdlib: Do cleanups after remove/free
To avoid byzantine behavior in case of some errors, linked lists arecleared after rem_node() and resource headers are cleared after rfree().
Many changes in I/O and OSPF sockets and packet handling.
I/O: - BSD: specify src addr on IP sockets by IP_HDRINCL - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO...
BFD work in progress.
Now it compiles and mostly works.
Initial BFD commit, work in progress.
Small typo in programmer's documentation.
Implements command that shows memory usage.
Fixes headers for uintptr_t (and build on NetBSD).
Clear memory allocated by ralloc().
This also fixes bug that timer->recurrent was not clearedin tm_new() and unexpected recurrence of startup timerin BGP confused state machine and caused crash.
Fixes memory alignment problems on Sparc64.
Not quite standard construction, i should addsome autoconf macro.
Not tested yet.
Changes OSPF to generate stub networks for non-primary addresses.
Also does some reorganization in RT LSA announcement.
fixes some 64-bit related bugs.
Filter code used 'aux' integer field of 'symbol' struct to store ptrto next symbol and both 'aux2' and 'def' fields for value.Changed to just 'def' for value and 'aux2' for ptr to next symbol.Also another minor bugfix.
One more in the library.
Added rmove() (by Andreas, tweaked by me).
Documented memory resources.
Implemented debugging function rlookup() which you can call from gdbto see what resource does the address given as a parameter belong to.
Use bsprintf() instead of sprintf().
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Clarify resource dumps and include them in the main debugging dump.
Use dmalloc instead of EFence when available (dmalloc has lot of improvementsover EFence and also hopefully smaller memory overhead, but sadly it's non-freefor commercial use).
If the DMALLOC_OPTIONS environment variable is not set, switch on `reasonable'...
Resource pools are now named.
Staticized some variables and functions.
BIRD library: The story continues.
Complete resource manages and IP address handling.