summaryrefslogtreecommitdiff
path: root/lib/Modules
AgeCommit message (Collapse)Author
1999-11-25Added ip_scope_text() for translating of scopes to strings.Martin Mares
1999-08-03Basic support for IPv6. The system-dependent part doesn't work yet,Martin Mares
but the core routines are there and seem to be working. o lib/ipv6.[ch] written o Lexical analyser recognizes IPv6 addresses and when in IPv6 mode, treats pure IPv4 addresses as router IDs. o Router ID must be configured manually on IPv6 systems. o Added SCOPE_ORGANIZATION for org-scoped IPv6 multicasts. o Fixed few places where ipa_(hton|ntoh) was called as a function returning converted address.
1999-05-10Added packet checksumming code. Watch the comments for an explanation.Martin Mares
1999-02-11Added simple event scheduling system to avoid recursive callingMartin Mares
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 global event list handled by the following functions: ev_schedule Schedule event to be called at the next event scheduling point. If the event was already scheduled, it's just re-linked to the end of the list. ev_postpone Postpone an already scheduled event, so that it won't get called. Postponed events can be scheduled again by ev_schedule(). You can also create custom event lists to build your own synchronization primitives. Just use: ev_init_list to initialize an event list ev_enqueue to schedule event on specified event list ev_postpone works as well for custom lists ev_run_list to run all events on your custom list ev_run to run a specific event and dequeue it
1999-01-23Replaced the old ugly ipv6 compilation hack by a conditional in Modules.Martin Mares
1998-12-20Implemented deletion/insertion/asynchronous-walk lists.Martin Mares
For example of their use, look at comments in lib/slists.h.
1998-11-29Added function for shell-like pattern matching. Will be used forMartin Mares
matching interface names in protocol-to-iface bindings.
1998-06-17Added local version of sprintf (bsprintf and bvsprintf) offering few newMartin Mares
format strings: %I IP address %#I IP address in hexadecimal %1I IP address padded to full length %m strerror(errno)
1998-05-15The library is now glued together from generic and OS-dependent partsMartin Mares
by the `mergedirs' script. Few more IP address manipulation functions and some fixes.