quattor/pan — pull request #46 by piojo (2013-10-21 22:32:02+00:00)
Title: Add built-ins for IPv4 address conversion

* ip4_to_long converts a string in format a.b.c.d/N into two longs: one with binary representation of the IP address before the slash and another one with the network mask that contains N bits.

* long_to_ip4 converts a long back into a dotted-notation IP address.