Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for IPv6zero (0.16 sec)

  1. cmd/kube-proxy/app/server_windows.go

    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	// Preserve backward-compatibility with the old secondary IP behavior
    	if s.PrimaryIPFamily == v1.IPv4Protocol {
    		s.NodeIPs[v1.IPv6Protocol] = net.IPv6zero
    	} else {
    		s.NodeIPs[v1.IPv4Protocol] = net.IPv4zero
    	}
    	return nil
    }
    
    // platformCheckSupported is called immediately before creating the Proxier, to check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/ipvs_linux.go

    	// 011 -> 001, 010 -> 000
    	vs.Flags = ServiceFlags(svc.Flags &^ uint32(FlagHashed))
    
    	if vs.Address == nil {
    		if svc.AddressFamily == unix.AF_INET {
    			vs.Address = net.IPv4zero
    		} else {
    			vs.Address = net.IPv6zero
    		}
    	}
    	return vs, nil
    }
    
    // toRealServer converts an IPVS Destination to the equivalent RealServer structure.
    func toRealServer(dst *libipvs.Destination) (*RealServer, error) {
    	if dst == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/net/ipsock_posix.go

    	// we allow a listener to listen to the wildcard
    	// address of both IP addressing spaces by specifying
    	// IPv6 wildcard address.
    	if len(ip) == 0 || ip.Equal(IPv4zero) {
    		ip = IPv6zero
    	}
    	// We accept any IPv6 address including IPv4-mapped
    	// IPv6 address.
    	ip6 := ip.To16()
    	if ip6 == nil {
    		return syscall.SockaddrInet6{}, &AddrError{Err: "non-IPv6 address", Addr: ip.String()}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. cmd/net.go

    	// 0.0.0.0 is a wildcard address and refers to local network
    	// addresses. I.e, 0.0.0.0:9000 like ":9000" refers to port
    	// 9000 on localhost.
    	if host.Name != "" && host.Name != net.IPv4zero.String() && host.Name != net.IPv6zero.String() {
    		localHost, err := isLocalHost(host.Name, host.Port.String(), host.Port.String())
    		if err != nil {
    			return err
    		}
    		if !localHost {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_linux_test.go

    				Config:   tt.config,
    				Client:   client,
    				Hostname: "nodename",
    				NodeIPs: map[v1.IPFamily]net.IP{
    					v1.IPv4Protocol: netutils.ParseIPSloppy("127.0.0.1"),
    					v1.IPv6Protocol: net.IPv6zero,
    				},
    			}
    			err := s.platformSetup(ctx)
    			if err != nil {
    				t.Errorf("ProxyServer.createProxier() error = %v", err)
    				return
    			}
    			if !reflect.DeepEqual(s.podCIDRs, tt.wantPodCIDRs) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. src/net/ip.go

    	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 (
    	IPv6zero                   = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    	IPv6unspecified            = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    	IPv6loopback               = IP{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IPv6interfacelocalallnodes", Var, 0},
    		{"IPv6len", Const, 0},
    		{"IPv6linklocalallnodes", Var, 0},
    		{"IPv6linklocalallrouters", Var, 0},
    		{"IPv6loopback", Var, 0},
    		{"IPv6unspecified", Var, 0},
    		{"IPv6zero", Var, 0},
    		{"Interface", Type, 0},
    		{"Interface.Flags", Field, 0},
    		{"Interface.HardwareAddr", Field, 0},
    		{"Interface.Index", Field, 0},
    		{"Interface.MTU", Field, 0},
    		{"Interface.Name", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top