[sr-dev] IPv4 and IPv6 binary comparison
Iñaki Baz Castillo
ibc at aliax.net
Wed Apr 27 16:15:29 CEST 2011
2011/4/27 Juha Heinanen <jh at tutpro.com>:
>> In fact, I'm thinking right now that the most suitable solution would
>> be create a library providing such functions so any other module could
>> internally use them (i.e. LCR for a future IPv6 addition). Opinions?
>
> 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.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the sr-dev
mailing list