Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for BroadcastAddress (0.38 sec)

  1. src/main/java/jcifs/config/BaseConfiguration.java

                        | ( this.useUnicode ? SmbConstants.CAP_UNICODE : 0 );
            }
    
            if ( this.broadcastAddress == null ) {
                try {
                    this.broadcastAddress = InetAddress.getByName("255.255.255.255");
                }
                catch ( UnknownHostException uhe ) {
                    log.debug("Failed to get broadcast address", uhe);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

            this.smbAttributeExpiration = Config.getLong(p, "jcifs.smb.client.attrExpirationPeriod", 5000L);
            this.ignoreCopyToException = Config.getBoolean(p, "jcifs.smb.client.ignoreCopyToException", false);
            this.broadcastAddress = Config.getInetAddress(p, "jcifs.netbios.baddr", null);
    
            this.traceResourceUsage = Config.getBoolean(p, "jcifs.traceResources", false);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/ipallocator_test.go

    			want:   netip.MustParseAddr("fc00::ffff"),
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got, err := broadcastAddress(tt.subnet); !reflect.DeepEqual(got, tt.want) || err != nil {
    				t.Errorf("broadcastAddress() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_hostsPerNetwork(t *testing.T) {
    	testCases := []struct {
    		name  string
    		cidr  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. api/go1.txt

    pkg syscall (windows-386), type InterfaceInfo struct
    pkg syscall (windows-386), type InterfaceInfo struct, Address SockaddrGen
    pkg syscall (windows-386), type InterfaceInfo struct, BroadcastAddress SockaddrGen
    pkg syscall (windows-386), type InterfaceInfo struct, Flags uint32
    pkg syscall (windows-386), type InterfaceInfo struct, Netmask SockaddrGen
    pkg syscall (windows-386), type IpAdapterInfo struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top