ip4_prefix_to_netmask


Description:


public uint32 ip4_prefix_to_netmask (uint32 prefix)

Parameters:

prefix

a CIDR prefix

Returns:

the netmask represented by the prefix, in network byte order


Namespace: NM.Utils
Package: libnm-util