Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 448 for IPV4 (0.04 sec)

  1. src/net/testdata/ipv4-hosts

    Roland Shoemaker <******@****.***> 1623086489 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 20:23:22 UTC 2021
    - 274 bytes
    - Viewed (0)
  2. 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)
  3. tools/istio-iptables/pkg/capture/testdata/host-ipv4-loopback-cidr.golden

    Ben Leggett <******@****.***> 1710179183 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. src/net/ipsock_test.go

    		addrList{&TCPAddr{IP: IPv6loopback, Port: 5682}},
    		addrList{&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}},
    		nil,
    	},
    	{
    		nil,
    		[]IPAddr{
    			{IP: IPv4(127, 0, 0, 1)},
    			{IP: IPv4(192, 168, 0, 1)},
    		},
    		testInetaddr,
    		&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
    		addrList{
    			&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
    			&TCPAddr{IP: IPv4(192, 168, 0, 1), Port: 5682},
    		},
    		nil,
    		nil,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 15 22:22:09 UTC 2017
    - 6.8K bytes
    - Viewed (0)
  5. pkg/kubelet/sysctl/safe_sysctls_test.go

    			},
    			want: []string{
    				"kernel.shm_rmid_forced",
    				"net.ipv4.ip_local_port_range",
    				"net.ipv4.tcp_syncookies",
    				"net.ipv4.ping_group_range",
    				"net.ipv4.ip_unprivileged_port_start",
    				"net.ipv4.ip_local_reserved_ports",
    				"net.ipv4.tcp_keepalive_time",
    				"net.ipv4.tcp_fin_timeout",
    				"net.ipv4.tcp_keepalive_intvl",
    				"net.ipv4.tcp_keepalive_probes",
    			},
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 15:05:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. src/net/ip_test.go

    	in   IP
    	mask IPMask
    	out  IP
    }{
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 255, 255, 128), IPv4(192, 168, 1, 0)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("255.255.255.192")), IPv4(192, 168, 1, 64)},
    	{IPv4(192, 168, 1, 127), IPMask(ParseIP("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffe0")), IPv4(192, 168, 1, 96)},
    	{IPv4(192, 168, 1, 127), IPv4Mask(255, 0, 255, 0), IPv4(192, 0, 1, 0)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    			expr:         `isIP("192.168.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:         "isIP invalid ipv4",
    			expr:         `isIP("192.168.0.1.0")`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "ip.isCanonical valid ipv4",
    			expr:         `ip.isCanonical("127.0.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:             "ip.isCanonical invalid ipv4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/testdata/framefuzz.json

    {"Action":"run","Test":"TestAddrStringAllocs/ipv4-in-ipv6"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv4-in-ipv6","Output":"=== RUN   TestAddrStringAllocs/ipv4-in-ipv6\n"}
    {"Action":"run","Test":"TestAddrStringAllocs/ipv4-in-ipv6+zone"}
    {"Action":"output","Test":"TestAddrStringAllocs/ipv4-in-ipv6+zone","Output":"=== RUN   TestAddrStringAllocs/ipv4-in-ipv6+zone\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. 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)
Back to top