func net/netip.AddrFromSlice
6 uses
net/netip (current package)
netip.go#L339: func AddrFromSlice(slice []byte) (ip Addr, ok bool) {
net
addrselect.go#L28: addrAttrIP, _ := netip.AddrFromSlice(v.IP)
addrselect.go#L52: srcs[i], _ = netip.AddrFromSlice(src.IP)
lookup.go#L258: if a, ok := netip.AddrFromSlice(ip); ok {
tcpsock.go#L36: na, _ := netip.AddrFromSlice(a.IP)
udpsock.go#L39: na, _ := netip.AddrFromSlice(a.IP)
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. |