Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isLoopbackOrPointToPoint (0.25 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    	if intf == nil {
    		return false
    	}
    	if intf.Flags&net.FlagUp != 0 {
    		klog.V(4).Infof("Interface %v is up", intf.Name)
    		return true
    	}
    	return false
    }
    
    func isLoopbackOrPointToPoint(intf *net.Interface) bool {
    	return intf.Flags&(net.FlagLoopback|net.FlagPointToPoint) != 0
    }
    
    // getMatchingGlobalIP returns the first valid global unicast address of the given
    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