type net.IPMask
16 uses
net (current package)
interface_bsd.go#L96: var mask IPMask
interface_bsd.go#L101: mask = make(IPMask, IPv6len)
ip.go#L38: type IPMask []byte
ip.go#L43: Mask IPMask // network mask
ip.go#L62: func IPv4Mask(a, b, c, d byte) IPMask {
ip.go#L63: p := make(IPMask, IPv4len)
ip.go#L74: func CIDRMask(ones, bits int) IPMask {
ip.go#L82: m := make(IPMask, l)
ip.go#L224: func (ip IP) DefaultMask() IPMask {
ip.go#L248: func (ip IP) Mask(mask IPMask) IP {
ip.go#L429: func simpleMaskLength(mask IPMask) int {
ip.go#L459: func (m IPMask) Size() (ones, bits int) {
ip.go#L468: func (m IPMask) String() string {
ip.go#L475: func networkNumberAndMask(n *IPNet) (ip IP, m IPMask) {
crypto/x509
x509.go#L1225: ips = append(ips, &net.IPNet{IP: net.IP(ip), Mask: net.IPMask(mask)})
github.com/jackc/pgtype
inet.go#L99: Mask: make(net.IPMask, len(src.IPNet.Mask)),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |