You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Marco Spinetti <m....@pisa.iol.it> on 2005/06/23 11:07:08 UTC

CIDR

Hi all,
I'm writing an application which has to trasform a IP range to CIDR format.
For example:

212.141.198.0 - 212.141.255.255
can be rappresented as
212.141.198.0/23
212.141.200.0/21
212.141.208.0/20
212.141.224.0/19

In my opinion I coulb use apr: is it true?
Which function could  I use?

Thanks

marco