Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BroadcastAddress (0.23 sec)

  1. pkg/registry/core/service/ipallocator/ipallocator.go

    		if max == 0 {
    			return 0
    		}
    		max--
    	}
    	return max
    }
    
    // broadcastAddress returns the broadcast address of the subnet
    // The broadcast address is obtained by setting all the host bits
    // in a subnet to 1.
    // network 192.168.0.0/24 : subnet bits 24 host bits 32 - 24 = 8
    // broadcast address 192.168.0.255
    func broadcastAddress(subnet netip.Prefix) (netip.Addr, error) {
    	base := subnet.Masked().Addr()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. pkg/util/iptree/iptree.go

    	// the broadcast address is not considered contained for IPv4
    	if !ip.Is6() {
    		ipLast, err := broadcastAddress(prefix)
    		if err != nil || ipLast == ip {
    			return false
    		}
    	}
    	return prefix.Contains(ip)
    }
    
    // TODO(aojea) consolidate all these IPs utils
    // pkg/registry/core/service/ipallocator/ipallocator.go
    // broadcastAddress returns the broadcast address of the subnet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. src/syscall/types_windows.go

    // will be fixed to change variable type as suitable.
    
    type SockaddrGen [24]byte
    
    type InterfaceInfo struct {
    	Flags            uint32
    	Address          SockaddrGen
    	BroadcastAddress SockaddrGen
    	Netmask          SockaddrGen
    }
    
    type IpAddressString struct {
    	String [16]byte
    }
    
    type IpMaskString IpAddressString
    
    type IpAddrString struct {
    	Next      *IpAddrString
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    // will be fixed to change variable type as suitable.
    
    type SockaddrGen [24]byte
    
    type InterfaceInfo struct {
    	Flags            uint32
    	Address          SockaddrGen
    	BroadcastAddress SockaddrGen
    	Netmask          SockaddrGen
    }
    
    type IpAddressString struct {
    	String [16]byte
    }
    
    type IpMaskString IpAddressString
    
    type IpAddrString struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"InterfaceAnnounceMessage", Type, 1},
    		{"InterfaceAnnounceMessage.Header", Field, 1},
    		{"InterfaceInfo", Type, 0},
    		{"InterfaceInfo.Address", Field, 0},
    		{"InterfaceInfo.BroadcastAddress", Field, 0},
    		{"InterfaceInfo.Flags", Field, 0},
    		{"InterfaceInfo.Netmask", Field, 0},
    		{"InterfaceMessage", Type, 0},
    		{"InterfaceMessage.Data", Field, 0},
    		{"InterfaceMessage.Header", 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