const net.IPv4len
28 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#L23: IPv4len = 4
ip.go#L67: p := make(IPMask, IPv4len)
ip.go#L79: if bits != 8*IPv4len && bits != 8*IPv6len {
ip.go#L192: return (len(ip) == IPv4len || len(ip) == IPv6len) &&
ip.go#L213: if len(ip) == IPv4len {
ip.go#L228: if len(ip) == IPv4len {
ip.go#L272: if len(mask) == IPv6len && len(ip) == IPv4len && allFF(mask[:12]) {
ip.go#L275: if len(mask) == IPv4len && len(ip) == IPv6len && bytealg.Equal(ip[:12], v4InV6Prefix) {
ip.go#L300: if len(ip) != IPv4len && len(ip) != IPv6len {
ip.go#L304: if p4 := ip.To4(); len(p4) == IPv4len {
ip.go#L334: if len(ip) != IPv4len && len(ip) != IPv6len {
ip.go#L363: if len(ip) == IPv4len && len(x) == IPv6len {
ip.go#L366: if len(ip) == IPv6len && len(x) == IPv4len {
ip.go#L433: case IPv4len:
ip.go#L434: if len(ip) != IPv4len {
ip.go#L438: 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#L405: case net.IPv4len, net.IPv6len:
verify.go#L654: if l := len(ip); l != net.IPv4len && l != 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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |