summaryrefslogtreecommitdiffstats
path: root/lib/ipv4.h
AgeCommit message (Collapse)Author
2009-09-08Temporary OSPFv3 development commit.Ondrej Zajicek
Finally, it is working.
2009-03-31Reimplementation of prefix sets.Ondrej Zajicek
Prefix sets were broken beyond any repair and have to be reimplemented. They are reimplemented using a trie with bitmasks in nodes. There is also change in the interpretation of minus prefix pattern, but the old interpretation was already inconsistent with the documentation and broken. There is also some bugfixes in filter code related to set variables.
2008-08-25Fix behavior of ipa_opposite().Martin Mares
It was giving wrong results on /30 networks.
2000-06-07#define SIZE_OF_IP_HEADEROndrej Filip
1999-10-12Changed syntax of ip_class_mask, the old one was stupid.Martin Mares
1999-06-01Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocolsMartin Mares
use it when creating sockets.
1999-05-14Added ip_skip_header() and modified OSPF to use it.Martin Mares
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