string Net_IPv6::getNetmask (
, int $bits = null
Calculates the network prefix based on the netmask bits.
string $ip - the IP address in Hex format, compressed IPs are allowed
int $bits - if the number of netmask bits is not part of the IP, you must provide the mumber of bits
string - the network prefix
This function can be called statically.
Method available since: Release 1.1.0