summaryrefslogtreecommitdiffstats
path: root/lib/ipv4.h
AgeCommit message (Collapse)Author
1999-04-12Added ipa_compare as requested.Martin Mares
1999-03-29Moved all system-dependent #include's containing endianity conversionMartin Mares
functions to sysdep header endian.h.
1998-12-20New hash functions according to benchmarks posted yesterday. (The IPv6Martin Mares
version has not been benchmarked yet due to insufficient test data.) Now ipa_hash() returns a uniformely distributed 16-bit value.
1998-11-29Renamed `DEBUG' symbol to `DEBUGGING' to prevent collisions with tokenMartin Mares
names and include files.
1998-10-19Added ipa_from_u32 and ipa_from_u32 for use in the kernel sync code (IPv4 only).Martin Mares
Don't ever think of using it in routing protocols.
1998-07-10Added ipa_class_mask() which guesses netmask for classful addressing.Martin Mares
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 ipa_validate() first).
1998-06-17Added function for converting of IP addresses to printable form.Martin Mares
1998-06-01Added ipa_xor() and ipa_in_net().Martin Mares
1998-05-26Added ipa_opposite().Martin Mares
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.
1998-05-03BIRD library: The story continues.Martin Mares
Complete resource manages and IP address handling.
1998-04-28Changed #include <x/y> to #include "x/y" for our local includes, so thatMartin Mares
gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies.
1998-04-23Added IP address manipulation macros, interface declarations and logging.Martin Mares