const net.IPv4len
26 uses
net (current package)
interface_linux.go#L67: case IPv4len:
interface_linux.go#L195: 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#L224: 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#L305: if p4 := ip.To4(); len(p4) == IPv4len {
ip.go#L335: if len(ip) != IPv4len && len(ip) != IPv6len {
ip.go#L364: if len(ip) == IPv4len && len(x) == IPv6len {
ip.go#L367: if len(ip) == IPv6len && len(x) == IPv4len {
ip.go#L434: case IPv4len:
ip.go#L435: if len(ip) != IPv4len {
ip.go#L439: 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
parser.go#L406: case net.IPv4len, net.IPv6len:
verify.go#L662: if l := len(ip); l != net.IPv4len && l != net.IPv6len {
 |
The pages are generated with Golds v0.7.6. (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. |