func net/netip.AddrFrom4
9 uses
net/netip (current package)
netip.go#L88: func IPv4Unspecified() Addr { return AddrFrom4([4]byte{}) }
netip.go#L91: func AddrFrom4(addr [4]byte) Addr {
netip.go#L192: return AddrFrom4(fields), nil
netip.go#L342: return AddrFrom4([4]byte(slice)), true
netip.go#L596: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L1012: *ip = AddrFrom4([4]byte(b))
net
ip.go#L305: return netip.AddrFrom4([4]byte(p4)).String()
udpsock_posix.go#L80: ip = netip.AddrFrom4(from.Addr)
udpsock_posix.go#L102: ip := netip.AddrFrom4(sa.Addr)
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. |