Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 147 for IPV4 (0.03 sec)

  1. cmd/kubeadm/app/util/etcd/etcd_test.go

    		expectedURL      string
    	}{
    		{
    			name:             "IPv4",
    			advertiseAddress: "10.10.10.10",
    			expectedURL:      fmt.Sprintf("https://10.10.10.10:%s", portStr),
    		},
    		{
    			name:             "IPv6",
    			advertiseAddress: "2001:db8::2",
    			expectedURL:      fmt.Sprintf("https://[2001:db8::2]:%s", portStr),
    		},
    		{
    			name:             "IPv4 localhost",
    			advertiseAddress: "127.0.0.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pilot/pkg/model/context_test.go

    		name   string
    		in     []string
    		expect string
    	}{
    		{
    			name:   "single IPv4 (k8s)",
    			in:     []string{"10.0.4.16"},
    			expect: "10.0.4.16",
    		},
    		{
    			name:   "single IPv6 (k8s)",
    			in:     []string{"fc00:f853:ccd:e793::1"},
    			expect: "fc00:f853:ccd:e793::1",
    		},
    		{
    			name:   "multi IPv4 [1st] (VM)",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/net/udpsock.go

    	}
    	return n, addr, err
    }
    
    // ReadFromUDPAddrPort acts like ReadFrom but returns a netip.AddrPort.
    //
    // If c is bound to an unspecified address, the returned
    // netip.AddrPort's address might be an IPv4-mapped IPv6 address.
    // Use netip.Addr.Unmap to get the address without the IPv6 prefix.
    func (c *UDPConn) ReadFromUDPAddrPort(b []byte) (n int, addr netip.AddrPort, err error) {
    	if !c.ok() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    		if p == "*" {
    			c.ipMatchers = []matcher{allMatch{}}
    			c.domainMatchers = []matcher{allMatch{}}
    			return
    		}
    
    		// IPv4/CIDR, IPv6/CIDR
    		if _, pnet, err := net.ParseCIDR(p); err == nil {
    			c.ipMatchers = append(c.ipMatchers, cidrMatch{cidr: pnet})
    			continue
    		}
    
    		// IPv4:port, [IPv6]:port
    		phost, pport, err := net.SplitHostPort(p)
    		if err == nil {
    			if len(phost) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/net/dial.go

    func (d *Dialer) SetMultipathTCP(use bool) {
    	d.mptcpStatus.set(use)
    }
    
    // Dial connects to the address on the named network.
    //
    // Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only),
    // "udp", "udp4" (IPv4-only), "udp6" (IPv6-only), "ip", "ip4"
    // (IPv4-only), "ip6" (IPv6-only), "unix", "unixgram" and
    // "unixpacket".
    //
    // For TCP and UDP networks, the address has the form "host:port".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. src/net/net_windows_test.go

    		case "State                              : disconnected":
    			isup = false
    		default:
    			continue
    		}
    		if name != "" {
    			if v, ok := ifaces[name]; ok && v != isup {
    				return fmt.Errorf("%s:%s isup=%v: ipv4 and ipv6 report different interface state", ipver, name, isup)
    			}
    			ifaces[name] = isup
    			name = ""
    		}
    	}
    	return nil
    }
    
    func TestInterfacesWithNetsh(t *testing.T) {
    	checkNetsh(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. pkg/dns/client/dns.go

    		} else {
    			if !strings.HasSuffix(hostname, ".") {
    				hostname += "."
    			}
    			altHosts = sets.New(hostname)
    		}
    		ipv4, ipv6 := netutil.ParseIPsSplitToV4V6(ni.Ips)
    		if len(ipv6) == 0 && len(ipv4) == 0 {
    			// malformed ips
    			continue
    		}
    		apply(altHosts, ipv4, ipv6, h.searchNamespaces)
    	}
    }
    
    // upstream sends the request to the upstream server, with associated logs and metrics
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_builder.go

    	} else if features.EnableAdditionalIpv4OutboundListenerForIpv6Only && (lb.node.GetIPMode() == model.IPv6) {
    		// add an additional IPv4 outbound listener for IPv6 only clusters
    		ipv4Wildcards, _ := getWildcardsAndLocalHost(model.IPv4) // get the IPv4 based wildcards
    		ipTablesListener.AdditionalAddresses = util.BuildAdditionalAddresses(ipv4Wildcards[0:], uint32(lb.push.Mesh.ProxyListenPort))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. security/pkg/server/ca/server_test.go

    		},
    		Authenticators: []security.Authenticator{auth},
    		monitoring:     newMonitoringMetrics(),
    	}
    	mockCertChain := []string{"cert", "cert_chain", "root_cert"}
    	mockIPAddr := &net.IPAddr{IP: net.IPv4(192, 168, 1, 1)}
    	testCerts := map[string]struct {
    		certChain    [][]*x509.Certificate
    		caller       *security.Caller
    		fakeAuthInfo *mockAuthInfo
    		code         codes.Code
    		ipAddr       *net.IPAddr
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/cluster_test.go

    		expectedEndpoint *kubeadmapi.APIEndpoint
    		expectedErr      bool
    	}{
    		{
    			name:        "no pod annotations",
    			nodeName:    nodeName,
    			expectedErr: true,
    		},
    		{
    			name:     "valid ipv4 endpoint in pod annotation",
    			nodeName: nodeName,
    			staticPod: &testresources.FakeStaticPod{
    				Component: kubeadmconstants.KubeAPIServer,
    				Annotations: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top