summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2008-12-25fixes some 64-bit related bugs.Ondrej Zajicek
Filter code used 'aux' integer field of 'symbol' struct to store ptr to 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.
2008-12-18Fixes nasty bug in event processing.Ondrej Zajicek
WALK_LIST_DELSAFE (in ev_run_list) is not safe with regard to deletion of next node. When some events are rescheduled during event execution, it may lead to deletion of next node and some events are skipped. Such skipped nodes remain in temporary list on stack and the last of them contains 'next' pointer to stack area. When this event is later scheduled, it damages stack area trying to remove it from the list, which leads to random crashes with funny backtraces :-) .
2008-11-01Multihop BGP was completely broken, because listening socket has alwaysOndrej Zajicek
ttl 1.
2008-10-26Implementation of MD5 authentication of BGP sessions.Ondrej Zajicek
2008-08-25Fix behavior of ipa_opposite().Martin Mares
It was giving wrong results on /30 networks.
2004-06-05Staticized lots of local functions.Martin Mares
2004-06-05Better prototypes.Martin Mares
2004-06-05One more in the library.Martin Mares
2004-06-05Renamed log() to log_msg(), but still keeping the old name as a macro.Martin Mares
This is done to avoid clashes with gcc-3.3 which has built-in logarithms :)
2004-06-05A better comment.Martin Mares
2004-06-04OSPF is ready for changing MTU.Ondrej Filip
2004-06-01ALIGN -> BIRD_ALIGNOndrej Filip
2004-05-31Rewritten the I/O loop. All socket operations are now safe, meaning thatMartin Mares
you can delete the socket from anywhere in the hooks and nothing should break. Also, the receive/transmit buffers are now regular xmalloc()'ed buffers, not separate resources which would need shuffling around between pools. sk_close() is gone, use rfree() instead.
2004-05-31Added UNUSED.Martin Mares
2004-05-31Added rmove() (by Andreas, tweaked by me).Martin Mares
2004-05-31Changed of comments.Ondrej Filip
2004-05-31alloca.h addedOndrej Filip
2004-05-31Use #include "alloca.h"Ondrej Filip
2004-05-31Some include added.Ondrej Filip
2004-05-31#ifndef ALIGN - it is defined on *BSDOndrej Filip
2002-11-13ABS should be a macro.Martin Mares
2001-08-19IP address formatting now uses the same rules as formatting of stringsMartin Mares
with two exceptions: o Any non-zero field width is automatically replaced by standard IP address width. This hides dependences on IPv4/IPv6. o %#I generates hexadecimal form of the address. Therefore |%I| generates unpadded format, |%1I| full size flush-right, and |%-1I| full size flush-left format.
2001-02-20Fixed duplicity in log category numbering.Martin Mares
Thanks to Zheng Yuan for spotting this.
2001-01-17Bug fix from Zheng Yuan <zyuan1@cig.mot.com>.Martin Mares
2001-01-15Added an explanatory comment.Martin Mares
2000-06-08Fixes for the programmer's manual.Martin Mares
2000-06-07Fixes to the progdoc.Martin Mares
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-07#define SIZE_OF_IP_HEADEROndrej Filip
2000-06-05Documented sockets, events and timers.Martin Mares
2000-06-05Documented memory resources.Martin Mares
2000-06-04Added library progdocs.Martin Mares
2000-05-31Added the introduction chapter of progdoc.Martin Mares
2000-05-31Updated all the Doc files to new format.Martin Mares
2000-05-31Added ipa_absolutize() which converts link-scope addresses to global scopeMartin Mares
ones according to prefix assigned to the corresponding interface.
2000-05-16Poisoning: take there...Martin Mares
2000-05-16Oops, the poison was too deadly...Martin Mares
2000-05-16Added poisoning of free'd objects when we're debugging.Martin Mares
2000-05-13Unified parsing of prefixes.Martin Mares
Had to rename `prefix' in filters to `fprefix'.
2000-05-09Implemented debugging function rlookup() which you can call from gdbMartin Mares
to see what resource does the address given as a parameter belong to.
2000-05-05Added skeleton Doc files for the whole developer's documentation.Martin Mares
2000-05-04Unused variables in IPv6 code.Martin Mares
2000-05-04Removed a lot of unused variables.Martin Mares
Please try compiling your code with --enable-warnings to see them. (The unused parameter warnings are usually bogus, the unused variable ones are very useful, but gcc is unable to control them separately.)
2000-05-02Defined format specifier `%M' which behaves as `%m', but takes theMartin Mares
error code as an argument. Use it in socket hooks where we really shouldn't rely on errno containing the right value or even existing.
2000-05-02IPv6 address classification fixes.Martin Mares
2000-04-28Event handlers no longer return re-queue flag. Instead of using it, justMartin Mares
call ev_schedule() on the same handler which should work perfectly now.
2000-04-12Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) ↵Martin Mares
constructs.
2000-04-01Removal of useless includes continues...Martin Mares
2000-04-01Use bsprintf() instead of sprintf().Martin Mares
2000-04-01Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.