[sr-dev] IPv4 and IPv6 binary comparison
Iñaki Baz Castillo
ibc at aliax.net
Wed Apr 27 17:05:24 CEST 2011
>> 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 at aliax.net>
More information about the sr-dev
mailing list