Pike v8.1 release 6

Class NetUtils.NetMask

Inheritance graph
NetUtils.NetMask NetUtils.IpRangeLookup.Range
Description

Persistent representation of a network + mask.


Variable mask

int NetUtils.NetMask.mask

Description

The network mask


Variable net

int NetUtils.NetMask.net

Description

The network number


Method create

NetUtils.NetMask NetUtils.NetMask(string cidr)

Description

Construct a new NetMask object from the given CIDR.

Parameter cidr

An IP and mask in CIDR notation.