Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 556 for familyOf (0.37 sec)

  1. src/net/iprawsock_posix.go

    	}
    	return nil
    }
    
    func (a *IPAddr) family() int {
    	if a == nil || len(a.IP) <= IPv4len {
    		return syscall.AF_INET
    	}
    	if a.IP.To4() != nil {
    		return syscall.AF_INET
    	}
    	return syscall.AF_INET6
    }
    
    func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
    	if a == nil {
    		return nil, nil
    	}
    	return ipToSockaddr(family, a.IP, 0, a.Zone)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/net/ipsock_posix.go

    		if supportsIPv4map() || !supportsIPv4() {
    			return syscall.AF_INET6, false
    		}
    		if laddr == nil {
    			return syscall.AF_INET, false
    		}
    		return laddr.family(), false
    	}
    
    	if (laddr == nil || laddr.family() == syscall.AF_INET) &&
    		(raddr == nil || raddr.family() == syscall.AF_INET) {
    		return syscall.AF_INET, false
    	}
    	return syscall.AF_INET6, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/syscall/ztypes_linux_arm64.go

    	Pad_cgo_1 [4]byte
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]uint8
    }
    
    type RawSockaddrInet6 struct {
    	Family   uint16
    	Port     uint16
    	Flowinfo uint32
    	Addr     [16]byte /* in6_addr */
    	Scope_id uint32
    }
    
    type RawSockaddrUnix struct {
    	Family uint16
    	Path   [108]int8
    }
    
    type RawSockaddrLinklayer struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/net/sockopt_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"os"
    	"syscall"
    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. src/net/internal/socktest/switch_posix.go

    //go:build !plan9
    
    package socktest
    
    import (
    	"fmt"
    	"syscall"
    )
    
    func familyString(family int) string {
    	switch family {
    	case syscall.AF_INET:
    		return "inet4"
    	case syscall.AF_INET6:
    		return "inet6"
    	case syscall.AF_UNIX:
    		return "local"
    	default:
    		return fmt.Sprintf("%d", family)
    	}
    }
    
    func typeString(sotype int) string {
    	var s string
    	switch sotype & 0xff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. docs/en/docs/img/deployment/https/https02.drawio

                    <mxCell id="101" value="&lt;span style=&quot;font-family: &amp;#34;roboto&amp;#34; ; font-size: 24px&quot;&gt;IP:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;#34;roboto&amp;#34;&quot;&gt;&lt;span style=&quot;font-family: &amp;#34;roboto&amp;#34; ; font-size: 24px&quot;&gt;123.124.125.126&lt;/span&gt;" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=3;" parent="1" vertex="1">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  7. src/net/udpsock_posix.go

    	}
    	return nil
    }
    
    func (a *UDPAddr) family() int {
    	if a == nil || len(a.IP) <= IPv4len {
    		return syscall.AF_INET
    	}
    	if a.IP.To4() != nil {
    		return syscall.AF_INET
    	}
    	return syscall.AF_INET6
    }
    
    func (a *UDPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
    	if a == nil {
    		return nil, nil
    	}
    	return ipToSockaddr(family, a.IP, a.Port, a.Zone)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/net/sockopt_solaris.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"os"
    	"syscall"
    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/options/validation.go

    	// note: While the cluster might be dualstack (i.e. pods with multiple IPs), the user may choose
    	// to only ingress traffic within and into the cluster on one IP family only. this family is decided
    	// by the range set on --service-cluster-ip-range. If/when the user decides to use dual stack services
    	// the Secondary* must be of different IPFamily than --service-cluster-ip-range
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https07.drawio

                    </mxCell>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 18.7K bytes
    - Viewed (0)
Back to top