net.IP.Equal (method)
15 uses
net (current package)
ip.go#L117: return ip.Equal(IPv4zero) || ip.Equal(IPv6unspecified)
ip.go#L125: return ip.Equal(IPv6loopback)
ip.go#L170: !ip.Equal(IPv4bcast) &&
ip.go#L410: func (ip IP) Equal(x IP) bool {
ipsock.go#L288: if len(ips) == 1 && ips[0].IP.Equal(IPv6unspecified) {
ipsock_posix.go#L168: if len(ip) == 0 || ip.Equal(IPv4zero) {
sockopt_posix.go#L36: if ip.Equal(v.IP) {
sockopt_posix.go#L40: if ip.Equal(v.IP) {
sockopt_posix.go#L46: if ip.Equal(IPv4zero) {
tcpsock_posix.go#L123: return l.Port == r.Port && l.IP.Equal(r.IP)
crypto/x509
verify.go#L1063: if ip.Equal(candidate) {
golang.org/x/crypto/ssh
server.go#L306: if allowedIP.Equal(tcpAddr.IP) {
golang.org/x/net/proxy
per_host.go#L67: if bypassIP.Equal(ip) {
vendor/golang.org/x/net/http/httpproxy
proxy.go#L350: if m.ip.Equal(ip) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |