Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 368 for IPV4 (0.05 sec)

  1. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    // AppendVersionedRule is a wrapper around AppendRule that substitutes an ipv4/ipv6 specific value
    // in place in the params. This allows appending a dual-stack rule that has an IP value in it.
    func (rb *IptablesRuleBuilder) AppendVersionedRule(ipv4 string, ipv6 string, command log.Command, chain string, table string, params ...string) {
    	rb.AppendRuleV4(command, chain, table, replaceVersionSpecific(ipv4, params...)...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils.go

    	}
    
    	return v1.IPv6Protocol
    }
    
    // AppendPortIfNeeded appends the given port to IP address unless it is already in
    // "ipv4:port" or "[ipv6]:port" format.
    func AppendPortIfNeeded(addr string, port int32) string {
    	// Return if address is already in "ipv4:port" or "[ipv6]:port" format.
    	if _, _, err := net.SplitHostPort(addr); err == nil {
    		return addr
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    			},
    			expectedIPs: []string{"10.0.1.1"},
    			actions:     [][]string{{"create", "ipaddresses"}},
    			events:      []string{"Warning ClusterIPNotAllocated Cluster IP [IPv4]: 10.0.1.1 is not allocated; repairing"},
    		},
    		{
    			name: "create IPAddresses dual stack",
    			svcs: []*v1.Service{newService("test-svc", []string{"10.0.1.1", "2001:db8::10"})},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  4. pkg/kubelet/sysctl/allowlist_test.go

    		{sysctl: "kernel/shm_rmid_forced"},
    		{sysctl: "net.ipv4.ip_local_port_range"},
    		{sysctl: "kernel.msgmax"},
    		{sysctl: "kernel.sem"},
    		{sysctl: "kernel/sem"},
    	}
    	invalid := []Test{
    		{sysctl: "kernel.shm_rmid_forced", hostIPC: true},
    		{sysctl: "net.ipv4.ip_local_port_range", hostNet: true},
    		{sysctl: "foo"},
    		{sysctl: "net.a.b.c", hostNet: false},
    		{sysctl: "net.ipv4.ip_local_port_range.a.b.c", hostNet: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 22:58:54 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				deletingServiceCIDR,
    			},
    			cidrSynced: deletingServiceCIDR.Name,
    			actions:    [][]string{},
    		},
    		{
    			name: "service CIDR being deleted with IPv4 addresses should update the status",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				deletedServiceCIDR,
    			},
    			ips: []*networkingapiv1alpha1.IPAddress{
    				makeIPAddress("192.168.0.1"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

    class FakeDns : Dns {
      private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf()
      private val requestedHosts: MutableList<String> = mutableListOf()
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/net/lookup_test.go

    		{"udp6", "golang.org"},
    		{"udp", "golang.org"},
    		{"udp", "golang.org"},
    	}
    	results := map[[2]string][]IPAddr{
    		{"udp", "golang.org"}: {
    			{IP: IPv4(127, 0, 0, 1)},
    			{IP: IPv6loopback},
    		},
    		{"udp4", "golang.org"}: {
    			{IP: IPv4(127, 0, 0, 1)},
    		},
    		{"udp6", "golang.org"}: {
    			{IP: IPv6loopback},
    		},
    	}
    	calls := int32(0)
    	waitCh := make(chan struct{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/validation_test.go

    		},
    		{
    			name:         "service cidr is too big",
    			expectErrors: true,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    		},
    		{
    			name:         "service cidr IPv4 is too big but gate enbled",
    			expectErrors: false,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    			gate:         true,
    		},
    		{
    			name:         "service cidr IPv6 is too big but gate enbled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/bootstrap/option/instances_test.go

    		},
    
    		{
    			testName: "lightstep address empty",
    			key:      "lightstep",
    			option:   option.LightstepAddress(""),
    			expected: nil,
    		},
    		{
    			testName: "lightstep address ipv4",
    			key:      "lightstep",
    			option:   option.LightstepAddress("127.0.0.1:80"),
    			expected: "{\"address\": \"127.0.0.1\", \"port_value\": 80}",
    		},
    		{
    			testName: "lightstep address ipv6",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. src/net/external_test.go

    	"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")
    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top