Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for IPV4 (0.08 sec)

  1. samples/tcp-echo/tcp-echo-ipv4.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: tcp-echo
      labels:
        app: tcp-echo
        service: tcp-echo
    spec:
      ipFamilyPolicy: SingleStack
      ipFamilies:
      - IPv4
      ports:
      - name: tcp
        port: 9000
      - name: tcp-other
        port: 9001
      # Port 9002 is omitted intentionally for testing the pass through filter chain.
      selector:
        app: tcp-echo
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. pkg/util/net/ip_test.go

    		{
    			name: "empty ip address",
    			ips:  []string{},
    			ipv4: []string{},
    			ipv6: []string{},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ipv4, ipv6 := IPsSplitV4V6(tt.ips)
    			if ipv4 == nil {
    				ipv4 = []string{}
    			}
    			if ipv6 == nil {
    				ipv6 = []string{}
    			}
    			if !reflect.DeepEqual(ipv4, tt.ipv4) || !reflect.DeepEqual(ipv6, tt.ipv6) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pkg/util/net/ip.go

    			continue
    		}
    		if ip.Is4() {
    			ipv4 = append(ipv4, ip.String())
    		} else if ip.Is6() {
    			ipv6 = append(ipv6, ip.String())
    		} else {
    			log.Debugf("ignoring un-parsable IP address: %v", ip)
    		}
    	}
    	return
    }
    
    // ParseIPsSplitToV4V6 returns two slice of ipv4 and ipv6 netip.Addr.
    func ParseIPsSplitToV4V6(ips []string) (ipv4 []netip.Addr, ipv6 []netip.Addr) {
    	for _, i := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pkg/proxy/util/utils_test.go

    		},
    		{
    			desc:            "want IPv4 and receive IPv4 and IPv6",
    			ipString:        []string{"192.168.200.2", "192.1.34.23", "fd00:20::1", "2001:db9::3"},
    			wantIPv6:        false,
    			expectCorrect:   []string{"192.168.200.2", "192.1.34.23"},
    			expectIncorrect: []string{"fd00:20::1", "2001:db9::3"},
    		},
    		{
    			desc:            "want IPv4 and receive IPv4 only",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/net/ipsock_posix.go

    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    // capabilities which are controlled by the IPV6_V6ONLY socket option
    // and kernel configuration.
    //
    // Should we try to use the IPv4 socket interface if we're only
    // dealing with IPv4 sockets? As long as the host system understands
    // IPv4-mapped IPv6, it's okay to pass IPv4-mapped IPv6 addresses to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. pkg/util/kernel/constants.go

    // IPLocalReservedPortsNamespacedKernelVersion is the kernel version in which net.ipv4.ip_local_reserved_ports was namespaced(netns).
    // (ref: https://github.com/torvalds/linux/commit/122ff243f5f104194750ecbc76d5946dd1eec934)
    const IPLocalReservedPortsNamespacedKernelVersion = "3.16"
    
    // IPVSConnReuseModeMinSupportedKernelVersion is the minium kernel version supporting net.ipv4.vs.conn_reuse_mode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/net/ip.go

    			n -= 8
    			continue
    		}
    		m[i] = ^byte(0xff >> n)
    		n = 0
    	}
    	return m
    }
    
    // Well-known IPv4 addresses
    var (
    	IPv4bcast     = IPv4(255, 255, 255, 255) // limited broadcast
    	IPv4allsys    = IPv4(224, 0, 0, 1)       // all systems
    	IPv4allrouter = IPv4(224, 0, 0, 2)       // all routers
    	IPv4zero      = IPv4(0, 0, 0, 0)         // all zeros
    )
    
    // Well-known IPv6 addresses
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/net/main_test.go

    	// If external IPv4 connectivity exists, we can try dialing
    	// non-node/interface local scope IPv4 addresses.
    	// On Windows, Lookup APIs may not return IPv4-related
    	// resource records when a node has no external IPv4
    	// connectivity.
    	testIPv4 = flag.Bool("ipv4", true, "assume external IPv4 connectivity exists")
    
    	// If external IPv6 connectivity exists, we can try dialing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top