const net.IPv4len
30 uses
net (current package)
interface_linux.go#L67: case IPv4len:
interface_linux.go#L180: return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)}
interface_linux.go#L209: b := make([]byte, IPv4len)
ip.go#L24: IPv4len = 4
ip.go#L68: p := make(IPMask, IPv4len)
ip.go#L80: if bits != 8*IPv4len && bits != 8*IPv6len {
ip.go#L193: return (len(ip) == IPv4len || len(ip) == IPv6len) &&
ip.go#L214: if len(ip) == IPv4len {
ip.go#L229: if len(ip) == IPv4len {
ip.go#L273: if len(mask) == IPv6len && len(ip) == IPv4len && allFF(mask[:12]) {
ip.go#L276: if len(mask) == IPv4len && len(ip) == IPv6len && bytealg.Equal(ip[:12], v4InV6Prefix) {
ip.go#L301: if len(ip) != IPv4len && len(ip) != IPv6len {
ip.go#L307: case IPv4len:
ip.go#L339: if p4 := ip.To4(); len(p4) == IPv4len {
ip.go#L353: if len(ip) != IPv4len && len(ip) != IPv6len {
ip.go#L395: if len(ip) == IPv4len && len(x) == IPv6len {
ip.go#L398: if len(ip) == IPv6len && len(x) == IPv4len {
ip.go#L465: case IPv4len:
ip.go#L466: if len(ip) != IPv4len {
ip.go#L470: if len(ip) == IPv4len {
iprawsock_posix.go#L25: if a == nil || len(a.IP) <= IPv4len {
tcpsock_posix.go#L27: if a == nil || len(a.IP) <= IPv4len {
udpsock_posix.go#L26: if a == nil || len(a.IP) <= IPv4len {
net/http
socks_bundle.go#L131: l += net.IPv4len
socks_bundle.go#L132: a.IP = make(net.IP, net.IPv4len)
crypto/x509
constraints.go#L172: if len(n.IP) == net.IPv4len {
constraints.go#L196: if len(ip) == net.IPv4len {
parser.go#L430: case net.IPv4len, net.IPv6len:
golang.org/x/net/internal/socks
client.go#L125: l += net.IPv4len
client.go#L126: a.IP = make(net.IP, net.IPv4len)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |