const net.IPv6len
30 uses
net (current package)
interface_linux.go#L72: case IPv6len:
interface_linux.go#L197: ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)}
interface_linux.go#L257: b := make([]byte, IPv6len)
ip.go#L24: IPv6len = 16
ip.go#L53: p := make(IP, IPv6len)
ip.go#L79: if bits != 8*IPv4len && bits != 8*IPv6len {
ip.go#L148: return len(ip) == IPv6len && ip[0]&0xfe == 0xfc
ip.go#L156: return len(ip) == IPv6len && ip[0] == 0xff
ip.go#L162: return len(ip) == IPv6len && ip[0] == 0xff && ip[1]&0x0f == 0x01
ip.go#L171: return len(ip) == IPv6len && ip[0] == 0xff && ip[1]&0x0f == 0x02
ip.go#L180: return len(ip) == IPv6len && ip[0] == 0xfe && ip[1]&0xc0 == 0x80
ip.go#L192: return (len(ip) == IPv4len || len(ip) == IPv6len) &&
ip.go#L216: if len(ip) == IPv6len &&
ip.go#L231: if len(ip) == IPv6len {
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#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#L427: if len(ip) != IPv6len {
ip.go#L437: case IPv6len:
ipsock.go#L152: return len(addr.IP) == IPv6len && addr.IP.To4() == nil
net/http
socks_bundle.go#L134: l += net.IPv6len
socks_bundle.go#L135: a.IP = make(net.IP, net.IPv6len)
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#L128: l += net.IPv6len
client.go#L129: a.IP = make(net.IP, net.IPv6len)
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. |