ip_addr.h
already has ip_addr_cmp function. may be it could be enhanced
to also compare ipv6 addresses.
I'll take a look to it and comment later. Thanks.
Hi Juha. After reviewing it, it seems that ip_addr.h just contains
functions to operate with IP/socket structs rather than text
representations, so it's not exactly what I need.
So please let me initially create a module "ipops" with the suggested
functions. Later we can discuss how to move it into a library or
ip_addr.h.
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>