summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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.
2000-03-30Defined sk_close() which closes the socket safely even if called fromMartin Mares
socket hook. Replaces the SK_DELETED hack. Squashed a couple of bugs in handling of TCP sockets.
2000-03-30Avoid conflicts with libraries defining their own xmalloc by definingMartin Mares
xmalloc to bird_xmalloc internally.
2000-03-21Wrote real version of unaligned data access functions (needed for BGP).Martin Mares
2000-03-12Use do { } while(0) instead of empty DBG if not debugging.Martin Mares
2000-03-07DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).Martin Mares
2000-03-05Implemented real slab allocator. If you suspect it from being buggy,Martin Mares
just #define FAKE_SLAB at the top of lib/slab.c to bypass it.
2000-03-01Changed comments regarding hash function.Martin Mares
2000-03-01IP_PREC_INTERNET_CONTROL for IPv6 (see the comment).Martin Mares
2000-01-16No more problems when events get scheduled during event processing.Martin Mares
1999-12-16ipv6_compare() accepts non-lvalue arguments as well. This makes filtersMartin Mares
compile with IPv6.
1999-12-06Logging is now configurable. You can define multiple log outputs (to bothMartin Mares
files and syslog) and assign lists of message categories to each of them.