const net.IPv6len
28 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#L25: IPv6len = 16
ip.go#L54: p := make(IP, IPv6len)
ip.go#L80: if bits != 8*IPv4len && bits != 8*IPv6len {
ip.go#L149: return len(ip) == IPv6len && ip[0]&0xfe == 0xfc
ip.go#L157: return len(ip) == IPv6len && ip[0] == 0xff
ip.go#L163: return len(ip) == IPv6len && ip[0] == 0xff && ip[1]&0x0f == 0x01
ip.go#L172: return len(ip) == IPv6len && ip[0] == 0xff && ip[1]&0x0f == 0x02
ip.go#L181: return len(ip) == IPv6len && ip[0] == 0xfe && ip[1]&0xc0 == 0x80
ip.go#L193: return (len(ip) == IPv4len || len(ip) == IPv6len) &&
ip.go#L217: if len(ip) == IPv6len &&
ip.go#L232: if len(ip) == IPv6len {
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#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#L428: if len(ip) != IPv6len {
ip.go#L438: case IPv6len:
ipsock.go#L153: 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#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. |