Home | History | Annotate | Download | only in net

Lines Matching refs:hosts

23 		"testdata/hosts",
33 "testdata/singleline-hosts", // see golang.org/issue/6646
39 "testdata/ipv4-hosts", // see golang.org/issue/8996
46 "testdata/ipv6-hosts", // see golang.org/issue/8996
53 "testdata/case-hosts", // see golang.org/issue/12806
87 "testdata/hosts",
99 "testdata/singleline-hosts", // see golang.org/issue/6646
105 "testdata/ipv4-hosts", // see golang.org/issue/8996
113 "testdata/ipv6-hosts", // see golang.org/issue/8996
122 "testdata/case-hosts", // see golang.org/issue/12806
142 hosts := lookupStaticAddr(ent.in)
146 if !reflect.DeepEqual(hosts, ent.out) {
147 t.Errorf("%s, lookupStaticAddr(%s) = %v; want %v", hostsPath, ent.in, hosts, ent.out)
156 testHookHostsPath = "testdata/ipv4-hosts"
166 testHookHostsPath = "testdata/ipv6-hosts"
169 // Modify the hosts return by lookupStaticAddr.
170 hosts := lookupStaticAddr(ent.in)
171 for i := range hosts {
172 hosts[i] += "junk"