Examples using... net.CIDRMask()

Recent
Mask returns the result of masking the IP address ip with mask.
CIDRMask returns an IPMask consisting of `ones' 1 bits followed by 0s up to a total length of `bits' bits. For a mask of this form, CIDRMask is the inverse of IPMask.Size.