ip4_netmask_to_prefix


Description:


public uint32 ip4_netmask_to_prefix (uint32 netmask)

Parameters:

netmask

an IPv4 netmask in network byte order

Returns:

the CIDR prefix represented by the netmask


Namespace: NM.Utils
Package: libnm-util