Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pointtopoint (0.11 sec)

  1. src/net/interface.go

    	FlagRunning                        // interface is in running state
    )
    
    var flagNames = []string{
    	"up",
    	"broadcast",
    	"loopback",
    	"pointtopoint",
    	"multicast",
    	"running",
    }
    
    func (f Flags) String() string {
    	s := ""
    	for i, name := range flagNames {
    		if f&(1<<uint(i)) != 0 {
    			if s != "" {
    				s += "|"
    			}
    			s += name
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/net/interface_linux.go

    	var ipPointToPoint bool
    	// Seems like we need to make sure whether the IP interface
    	// stack consists of IP point-to-point numbered or unnumbered
    	// addressing.
    	for _, a := range attrs {
    		if a.Attr.Type == syscall.IFA_LOCAL {
    			ipPointToPoint = true
    			break
    		}
    	}
    	for _, a := range attrs {
    		if ipPointToPoint && a.Attr.Type == syscall.IFA_ADDRESS {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    	} else {
    		return family == familyIPv6
    	}
    }
    
    // chooseIPFromHostInterfaces looks at all system interfaces, trying to find one that is up that
    // has a global unicast address (non-loopback, non-link local, non-point2point), and returns the IP.
    // addressFamilies determines whether it prefers IPv4 or IPv6
    func chooseIPFromHostInterfaces(nw networkInterfacer, addressFamilies AddressFamilyPreference) (net.IP, error) {
    	intfs, err := nw.Interfaces()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K bytes
    - Viewed (0)
Back to top