Latest recipes tagged "cidr"http://code.activestate.com/recipes/tags/cidr/new/2010-08-25T21:37:16-07:00ActiveState Code RecipesIP address and CIDR mask conversion to network and broadcast (Python) 2010-08-25T21:37:16-07:00Rafael Zanellahttp://code.activestate.com/recipes/users/4165925/http://code.activestate.com/recipes/577375-ip-address-and-cidr-mask-conversion-to-network-and/ <p style="color: grey"> Python recipe 577375 by <a href="/recipes/users/4165925/">Rafael Zanella</a> (<a href="/recipes/tags/cidr/">cidr</a>, <a href="/recipes/tags/ipv4/">ipv4</a>, <a href="/recipes/tags/mask/">mask</a>, <a href="/recipes/tags/network/">network</a>). Revision 2. </p> <p>Convert dotted-quad IPv4 addresses along with CIDR mask to host-byte-order long integer ip, network and broadcast, along with their dotted-quad IPv4 representation.</p>