Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IPv6zero (0.1 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. src/net/udpsock_plan9.go

    func (c *UDPConn) writeTo(b []byte, addr *UDPAddr) (int, error) {
    	if addr == nil {
    		return 0, errMissingAddress
    	}
    	h := new(udpHeader)
    	h.raddr = addr.IP.To16()
    	h.laddr = c.fd.laddr.(*UDPAddr).IP.To16()
    	h.ifcaddr = IPv6zero // ignored (receive only)
    	h.rport = uint16(addr.Port)
    	h.lport = uint16(c.fd.laddr.(*UDPAddr).Port)
    
    	buf := make([]byte, udpHeaderSize+len(b))
    	i := copy(buf, h.Bytes())
    	copy(buf[i:], b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 18:35:35 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. src/net/ipsock_plan9.go

    	defer f.Close()
    	n, err := f.Read(buf[:])
    	if err != nil {
    		return
    	}
    	ip, port, err := parsePlan9Addr(string(buf[:n]))
    	if err != nil {
    		return
    	}
    	switch net {
    	case "tcp4", "udp4":
    		if ip.Equal(IPv6zero) {
    			ip = ip[:IPv4len]
    		}
    	}
    	switch net {
    	case "tcp", "tcp4", "tcp6":
    		addr = &TCPAddr{IP: ip, Port: port}
    	case "udp", "udp4", "udp6":
    		addr = &UDPAddr{IP: ip, Port: port}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
Back to top