- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for IPv6loopback (0.2 sec)
-
src/net/main_test.go
resolveUDPAddrTests = append(resolveUDPAddrTests, resolveUDPAddrTest{"udp6", "localhost:3", &UDPAddr{IP: IPv6loopback, Port: 3}, nil}) resolveIPAddrTests = append(resolveIPAddrTests, resolveIPAddrTest{"ip6", "localhost", &IPAddr{IP: IPv6loopback}, nil}) // Issue 20911: don't return IPv4 addresses for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.5K bytes - Viewed (0) -
src/net/lookup_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
src/net/dial_test.go
{"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To4()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To16()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: IPv6loopback}, errNoSuitableAddress}, {"tcp4", "127.0.0.1", &UDPAddr{}, &AddrError{Err: "some error"}}, {"tcp4", "127.0.0.1", &UnixAddr{}, &AddrError{Err: "some error"}}, {"tcp6", "::1", nil, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
src/net/mockserver_test.go
return nil } func newDualStackListener() (lns []*TCPListener, err error) { var args = []struct { network string TCPAddr }{ {"tcp4", TCPAddr{IP: IPv4(127, 0, 0, 1)}}, {"tcp6", TCPAddr{IP: IPv6loopback}}, } for i := 0; i < 64; i++ { var port int var lns []*TCPListener for _, arg := range args { arg.TCPAddr.Port = port ln, err := ListenTCP(arg.network, &arg.TCPAddr) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/fd_windows.go
} } var isloopback bool switch ra := ra.(type) { case *syscall.SockaddrInet4: isloopback = ra.Addr[0] == 127 case *syscall.SockaddrInet6: isloopback = ra.Addr == [16]byte(IPv6loopback) default: panic("unexpected type in connect") } if isloopback { // This makes ConnectEx() fails faster if the target port on the localhost // is not reachable, instead of waiting for 2s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:46:10 UTC 2024 - 6.2K bytes - Viewed (0) -
src/net/netip/netip_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/net/ip.go
) // Well-known IPv6 addresses var ( IPv6zero = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} IPv6unspecified = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} IPv6loopback = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1} IPv6interfacelocalallnodes = IP{0xff, 0x01, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 03:13:26 UTC 2024 - 13.9K bytes - Viewed (0) -
src/net/ip_test.go
{IPv4allrouter, true, false}, {IPv4zero, true, false}, {IPv4(224, 0, 0, 1), true, false}, {IPv4(127, 0, 0, 1), true, false}, {IPv4(240, 0, 0, 1), true, false}, {IPv6unspecified, false, true}, {IPv6loopback, false, true}, {IPv6interfacelocalallnodes, false, true}, {IPv6linklocalallnodes, false, true}, {IPv6linklocalallrouters, false, true}, {ParseIP("ff05::a:b:c:d"), false, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 01:17:29 UTC 2024 - 25.7K bytes - Viewed (0) -
src/net/ipsock.go
// // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname loopbackIP func loopbackIP(net string) IP { if net != "" && net[len(net)-1] == '6' { return IPv6loopback } return IP{127, 0, 0, 1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
break } } if !found { t.Errorf("altNames does not contain DNSName %s", DNSName) } }) } expectedIPAddresses := []string{"1.2.3.4", "127.0.0.1", net.IPv6loopback.String(), proxyIP} for _, IPAddress := range expectedIPAddresses { t.Run(IPAddress, func(t *testing.T) { found := false for _, val := range altNames.IPs { if val.Equal(netutils.ParseIPSloppy(IPAddress)) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0)