Lines Matching refs:addrs
42 addrs []IPAddr
53 addrs, err, completed := cgoLookupIP(ctx, name)
54 for _, addr := range addrs {
140 func cgoLookupIPCNAME(name string) (addrs []IPAddr, cname string, err error) {
192 addrs = append(addrs, addr)
196 addrs = append(addrs, addr)
199 return addrs, cname, nil
203 addrs, cname, err := cgoLookupIPCNAME(name)
204 result <- ipLookupResult{addrs, cname, err}
207 func cgoLookupIP(ctx context.Context, name string) (addrs []IPAddr, err error, completed bool) {
209 addrs, _, err = cgoLookupIPCNAME(name)
210 return addrs, err, true
216 return r.addrs, r.err, true