- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for supportsIPv4 (0.3 sec)
-
pilot/pkg/networking/core/cluster_cache.go
proxyView: cb.proxyView, hbone: cb.sendHbone, http2: port.Protocol.IsHTTP2(), downstreamAuto: cb.sidecarProxy() && port.Protocol.IsUnsupported(), supportsIPv4: cb.supportsIPv4, service: service, destinationRule: dr, envoyFilterKeys: efKeys, metadataCerts: cb.metadataCerts, peerAuthVersion: cb.req.Push.AuthnPolicies.GetVersion(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/platform_test.go
// Test functionality of IPv4 communication using AF_INET and // IPv6 communication using AF_INET6 sockets. if !supportsIPv4() && ip.To4() != nil { return false } if !supportsIPv6() && ip.To16() != nil && ip.To4() == nil { return false } cip := ParseIP(client) if cip != nil { if !supportsIPv4() && cip.To4() != nil { return false } if !supportsIPv6() && cip.To16() != nil && cip.To4() == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
src/net/external_test.go
package net import ( "fmt" "internal/testenv" "io" "strings" "testing" ) func TestResolveGoogle(t *testing.T) { testenv.MustHaveExternalNetwork(t) if !supportsIPv4() || !supportsIPv6() || !*testIPv4 || !*testIPv6 { t.Skip("both IPv4 and IPv6 are required") } for _, network := range []string{"tcp", "tcp4", "tcp6"} { addr, err := ResolveTCPAddr(network, "www.google.com:http")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.1K bytes - Viewed (0) -
src/net/lookup_test.go
func TestLookupGoogleSRV(t *testing.T) { t.Parallel() mustHaveExternalNetwork(t) if runtime.GOOS == "ios" { t.Skip("no resolv.conf on iOS") } if !supportsIPv4() || !*testIPv4 { t.Skip("IPv4 is required") } attempts := 0 for i := 0; i < len(lookupGoogleSRVTests); i++ { tt := lookupGoogleSRVTests[i] cname, srvs, err := LookupSRV(tt.service, tt.proto, tt.name)
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/vendor/golang.org/x/net/nettest/nettest.go
} default: unStrmDgramEnabled = true } } func unixStrmDgramEnabled() bool { stackOnce.Do(probeStack) return unStrmDgramEnabled } // SupportsIPv4 reports whether the platform supports IPv4 networking // functionality. func SupportsIPv4() bool { stackOnce.Do(probeStack) return ipv4Enabled } // SupportsIPv6 reports whether the platform supports IPv6 networking // functionality.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
src/net/mockserver_test.go
if err != nil { t.Helper() t.Fatal(err) } return ln } switch network { case "tcp": if supportsIPv4() { return listen("tcp4", "127.0.0.1:0") } if supportsIPv6() { return listen("tcp6", "[::1]:0") } case "tcp4": if supportsIPv4() { return listen("tcp4", "127.0.0.1:0") } case "tcp6": if supportsIPv6() { return listen("tcp6", "[::1]:0") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_address.go
// getActualWildcardAndLocalHost will return corresponding Wildcard and LocalHost // depending on value of proxy's IPAddresses. func getActualWildcardAndLocalHost(node *model.Proxy) (string, string) { if node.SupportsIPv4() { return WildcardAddress, LocalhostAddress } return WildcardIPv6Address, LocalhostIPv6Address } func getPassthroughBindIPs(ipMode model.IPMode) []string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3.3K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
proxyType: proxy.Type, proxyVersion: proxy.Metadata.IstioVersion, sidecarScope: proxy.SidecarScope, passThroughBindIPs: getPassthroughBindIPs(proxy.GetIPMode()), supportsIPv4: proxy.SupportsIPv4(), supportsIPv6: proxy.SupportsIPv6(), sendHbone: features.EnableHBONESend || proxy.IsWaypointProxy(), locality: proxy.Locality, proxyLabels: proxy.Labels,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0) -
src/net/dial_test.go
case "windows": t.Skipf("not implemented a way to cancel dial racers in TCP SYN-SENT state on %s", runtime.GOOS) case "openbsd": testenv.SkipFlaky(t, 15157) } if !supportsIPv4() || !supportsIPv6() { t.Skip("both IPv4 and IPv6 are required") } before := sw.Sockets() origTestHookLookupIP := testHookLookupIP defer func() { testHookLookupIP = origTestHookLookupIP }()
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/listen_test.go
// to be greater than or equal to 4.4. func TestDualStackTCPListener(t *testing.T) { switch runtime.GOOS { case "plan9": t.Skipf("not supported on %s", runtime.GOOS) } if !supportsIPv4() || !supportsIPv6() { t.Skip("both IPv4 and IPv6 are required") } for _, tt := range dualStackTCPListenerTests { if !testableListenArgs(tt.network1, JoinHostPort(tt.address1, "0"), "") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.5K bytes - Viewed (0)