func net/netip.AddrFromSlice
7 uses
net/netip (current package)
netip.go#L348: func AddrFromSlice(slice []byte) (ip Addr, ok bool) {
net
addrselect.go#L27: addrAttrIP, _ := netip.AddrFromSlice(v.IP)
addrselect.go#L53: srcs[i], _ = netip.AddrFromSlice(src.IP)
ip.go#L342: addr, _ := netip.AddrFromSlice(ip)
lookup.go#L269: if a, ok := netip.AddrFromSlice(ip); ok {
tcpsock.go#L36: na, _ := netip.AddrFromSlice(a.IP)
udpsock.go#L36: na, _ := netip.AddrFromSlice(a.IP)
![]() |
The pages are generated with Golds v0.8.4. (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. |