net.IP.To4 (method)
37 uses
net (current package)
addrselect.go#L200: if DA.To4() == nil && DB.To4() == nil {
addrselect.go#L344: if b4 := b.To4(); b4 != nil {
cgo_unix.go#L287: if ip4 := ip.To4(); ip4 != nil {
dnsclient.go#L34: if ip.To4() != nil {
ip.go#L126: if ip4 := ip.To4(); ip4 != nil {
ip.go#L135: if ip4 := ip.To4(); ip4 != nil {
ip.go#L153: if ip4 := ip.To4(); ip4 != nil {
ip.go#L168: if ip4 := ip.To4(); ip4 != nil {
ip.go#L177: if ip4 := ip.To4(); ip4 != nil {
ip.go#L212: func (ip IP) To4() IP {
ip.go#L248: if ip = ip.To4(); ip == nil {
ip.go#L304: if p4 := ip.To4(); len(p4) == IPv4len {
ip.go#L373: return ip.To4() != nil && x.To4() != nil || ip.To16() != nil && ip.To4() == nil && x.To16() != nil && x.To4() == nil
ip.go#L425: if ip = n.IP.To4(); ip == nil {
ip.go#L450: if x := ip.To4(); x != nil {
iprawsock_posix.go#L28: if a.IP.To4() != nil {
ipsock.go#L66: return addr.IP.To4() != nil
ipsock.go#L68: return addr.IP.To4() != nil
ipsock.go#L70: return addr.IP.To4() != nil
ipsock.go#L147: return addr.IP.To4() != nil
ipsock.go#L152: return len(addr.IP) == IPv6len && addr.IP.To4() == nil
ipsock_posix.go#L149: ip4 := ip.To4()
sockopt_posix.go#L63: if v.IP.To4() != nil {
sockopt_posix.go#L67: if v.IP.To4() != nil {
sockopt_posix.go#L86: if a := v.IP.To4(); a != nil {
sockopt_posix.go#L91: if a := v.IP.To4(); a != nil {
sockopt_posix.go#L98: if bytealg.Equal(mreq.Multiaddr[:], IPv4zero.To4()) {
tcpsock_posix.go#L30: if a.IP.To4() != nil {
udpsock_posix.go#L29: if a.IP.To4() != nil {
udpsock_posix.go#L245: if ip4 := gaddr.IP.To4(); ip4 != nil {
net/http
socks_bundle.go#L93: if ip4 := ip.To4(); ip4 != nil {
crypto/x509
x509.go#L1068: ip := rawIP.To4()
golang.org/x/net/internal/socks
client.go#L87: if ip4 := ip.To4(); ip4 != nil {
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. |