| Branch: | Revision:

iof-bird-daemon / lib @ e8f73195

# Date Author Comment
e8f73195 02/11/1999 09:18 PM Martin Mares

Added simple event scheduling system to avoid recursive calling
of various callbacks.

Events are just another resource type objects (thus automatically freed
and unlinked when the protocol using them shuts down). Each event can
be linked in at most one event list. For most purposes, just use the...

c4c63eec 02/05/1999 09:29 PM Martin Mares

Added several parentheses to MIN/MAX macros.

294c182e 01/23/1999 09:08 PM Martin Mares

Replaced the old ugly ipv6 compilation hack by a conditional in Modules.

98e87c86 12/20/1998 02:24 PM Martin Mares

Finer grained logging levels:

#define L_DEBUG "\001" /* Debugging messages /
#define L_INFO "\002" /
Informational messages /
#define L_WARN "\003" /
Warnings /
#define L_ERR "\004" /
Errors /
#define L_AUTH "\005" /
Authorization failed etc. */...

a6f250f5 12/20/1998 01:57 PM Martin Mares

New hash functions according to benchmarks posted yesterday. (The IPv6
version has not been benchmarked yet due to insufficient test data.)
Now ipa_hash() returns a uniformely distributed 16-bit value.

a05406e6 12/20/1998 01:56 PM Martin Mares

Implemented deletion/insertion/asynchronous-walk lists.
For example of their use, look at comments in lib/slists.h.

b35d72ac 12/06/1998 11:59 AM Martin Mares

Name cleanups as suggested by Pavel:

- cfg_strcpy() > cfg_strdup()
mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*]

Anyway, it might be better to stop ranting about names and do some real work.

dee929d8 11/29/1998 02:47 PM Martin Mares

Added function for shell-like pattern matching. Will be used for
matching interface names in protocol-to-iface bindings.

0cf86f0f 11/29/1998 02:38 PM Martin Mares

Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with token
names and include files.

dfeef5d8 11/27/1998 07:29 PM Martin Mares

Implemented ip_pton()

a3afae58 11/27/1998 07:29 PM Martin Mares

Removed prototype of rp_free() since this function has never existed.

4254dc45 11/21/1998 10:25 AM Martin Mares

Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129.

53a416d3 11/16/1998 09:40 PM Martin Mares

Implemented snprintf and similar functions. It took a lot of thinking,
but the modifications were relatively simple and straightforward.

ab3a76a3 10/18/1998 10:22 PM Martin Mares

Added ipa_from_u32 and ipa_from_u32 for use in the kernel sync code (IPv4 only).
Don't ever think of using it in routing protocols.

d92882be 10/17/1998 11:02 AM Martin Mares

WALK_LIST_DELSAFE now actually works (it really couldn't since it didn't
reference list head at all).

cf3934c5 10/14/1998 01:27 PM Pavel Machek

Lists: unneccessary test killed, make code friendly to non-gcc.

a872b0f7 07/20/1998 08:05 PM Pavel Machek

Reversed buggy patch.

1be52eea 07/10/1998 08:39 AM Martin Mares

Removed format specification attributes for log() and debug() until
GCC is fixed to handle custom formats.

786d0bb9 07/10/1998 08:38 AM Martin Mares

Added ipa_class_mask() which guesses netmask for classful addressing.
For pure A/B/C class addresses it just returns the class netmask, for
subnets it tries to guess subnet mask. Please make sure the address
you pass to this function is really a valid host address (i.e., call...

cf3527e2 07/09/1998 07:36 PM Pavel Machek

Adding MIN/MAX macros

aea2dcab 07/09/1998 07:35 PM Pavel Machek

Adding walk list which permits you to delete entries.

d997534f 06/17/1998 02:34 PM Martin Mares

Oops, forgot '%m'...

ecacdfa4 06/17/1998 02:31 PM Martin Mares

Added local version of sprintf (bsprintf and bvsprintf) offering few new
format strings:

%I    IP address
%#I IP address in hexadecimal
%1I IP address padded to full length
%m strerror(errno)
97d858c5 06/17/1998 02:28 PM Martin Mares

ip_ntop() and ip_ntox() for IPv4.

6b5e06ab 06/17/1998 02:26 PM Martin Mares

Added function for converting of IP addresses to printable form.

0fe3b28b 06/01/1998 09:36 PM Martin Mares

Added ipa_xor() and ipa_in_net().

b1487ee9 05/26/1998 09:38 PM Martin Mares

Added generic functions for unaligned data access.

ed68a5c6 05/26/1998 09:37 PM Martin Mares

Resource pools are now named.

d5417b37 05/26/1998 09:36 PM Martin Mares

Added ipa_opposite().

5222c46c 05/26/1998 09:36 PM Martin Mares

DBG now calls debug() instead of sending it to log().

d804db0d 05/24/1998 03:00 PM Martin Mares

Added few socket declarations.

d4bc8dc0 05/24/1998 02:46 PM Martin Mares

Staticized some variables and functions.

480effed 05/24/1998 09:19 AM Martin Mares

Added declarations of all our socket functions.

25697773 05/15/1998 07:56 AM Martin Mares

The library is now glued together from generic and OS-dependent parts
by the `mergedirs' script. Few more IP address manipulation functions
and some fixes.

18c8241a 05/03/1998 04:43 PM Martin Mares

BIRD library: The story continues.

Complete resource manages and IP address handling.

1feea03e 04/28/1998 02:39 PM Martin Mares

Changed #include <x/y> to #include "x/y" for our local includes, so that
gcc -MM can be used to separate them from the system ones.

Added automatic generation of dependencies.

c40e05a0 04/23/1998 02:01 PM Martin Mares

Added IP address manipulation macros, interface declarations and logging.

58ef912c 04/22/1998 12:58 PM Martin Mares

First look at data structures. More to come tomorrow...