func net/netip.AddrFrom4
9 uses
net/netip (current package)
netip.go#L89: func IPv4Unspecified() Addr { return AddrFrom4([4]byte{}) }
netip.go#L92: func AddrFrom4(addr [4]byte) Addr {
netip.go#L202: return AddrFrom4(fields), nil
netip.go#L352: return AddrFrom4([4]byte(slice)), true
netip.go#L625: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L1042: *ip = AddrFrom4([4]byte(b))
net
ip.go#L306: 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.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. |