Small bug in detection of class-A networks.
Removed a lot of unused variables.
Please try compiling your code with --enable-warnings to see them. (Theunused parameter warnings are usually bogus, the unused variable onesare very useful, but gcc is unable to control them separately.)
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Small bug in ipv4_skip_header.
Added ip_skip_header() and modified OSPF to use it.
Recognize site scope for IPv4 addresses (prefixes reserved for privatenetworks).
Removed old #ifndef logic which was used to avoid IPv4/IPv6 clashesbefore conditionals in Modules lists were introduced.
ip_pton: Avoid modification of the string we're converting.
Added ipa_class_mask() which guesses netmask for classful addressing.For pure A/B/C class addresses it just returns the class netmask, forsubnets it tries to guess subnet mask. Please make sure the addressyou pass to this function is really a valid host address (i.e., call...
ip_ntop() and ip_ntox() for IPv4.
The library is now glued together from generic and OS-dependent partsby the `mergedirs' script. Few more IP address manipulation functionsand some fixes.
BIRD library: The story continues.
Complete resource manages and IP address handling.