Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 96 for baddr (0.04 seconds)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private int[] resolveOrder;
    
        InetAddress laddr, baddr;
    
        NameServiceClient() {
            this(LPORT, LADDR);
        }
    
        NameServiceClient(final int lport, final InetAddress laddr) {
            this.lport = lport;
            this.laddr = laddr;
    
            try {
                baddr = Config.getInetAddress("jcifs.smb1.netbios.baddr", InetAddress.getByName("255.255.255.255"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                            continue;
                        }
                        if (possibleNTDomainOrWorkgroup) {
                            addr = lookupServerOrWorkgroup(hostname, baddr);
                        } else {
                            addr = NbtAddress.getByName(hostname, 0x20, null, baddr);
                        }
                        break;
                    case RESOLVER_DNS:
                        if (isAllDigits(hostname)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            request.addr = addr != null ? addr : getWINSAddress();
            request.isBroadcast = request.addr == null || isBroadcastAddress(request.addr);
    
            if (request.isBroadcast) {
                if (request.addr == null) {
                    request.addr = this.baddr;
                }
                n = config.getNetbiosRetryCount();
            } else {
                n = 1;
            }
    
            do {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.netbios.laddr");
            if (value != null) {
                try {
                    this.netbiosLocalAddress = InetAddress.getByName(value);
                } catch (UnknownHostException e) {
                    // Invalid address ignored
                }
            }
    
            value = props.getProperty("jcifs.netbios.baddr");
            if (value != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/PropertyConfigurationTest.java

        void testNetworkProperties() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.netbios.wins", "192.168.1.1");
            props.setProperty("jcifs.netbios.baddr", "192.168.1.255");
            props.setProperty("jcifs.resolveOrder", "WINS,BCAST,DNS");
    
            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(props);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Configuration.java

         *
         * @return order and selection of resolver modules, see {@link ResolverType}
         */
        List<ResolverType> getResolveOrder();
    
        /**
         *
         * Property {@code jcifs.netbios.baddr} (string, default {@code 255.255.255.255})
         *
         * @return broadcast address to use
         */
        InetAddress getBroadcastAddress();
    
        /**
         *
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                for (final NbtAddress addr : addrs) {
                    CacheEntry entry = (CacheEntry) ADDRESS_CACHE.get(addr.hostName);
                    if (entry == null) {
                        entry = new CacheEntry(addr.hostName, addr, expiration);
                        ADDRESS_CACHE.put(addr.hostName, entry);
                    } else {
                        entry.address = addr;
                        entry.expiration = expiration;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  8. internal/handlers/proxy.go

    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    		return addr
    	}
    	return raddr
    }
    
    // GetSourceIP retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    func GetSourceIP(r *http.Request) string {
    	addr := GetSourceIPRaw(r)
    	if strings.ContainsRune(addr, ':') {
    		return "[" + addr + "]"
    	}
    	return addr
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/Config.java

            final String addr = props.getProperty("jcifs.smb.client.laddr");
    
            if (addr != null) {
                try {
                    return InetAddress.getByName(addr);
                } catch (final UnknownHostException uhe) {
                    log.error("Ignoring jcifs.smb.client.laddr address: " + addr, uhe);
                }
            }
    
            return null;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/Config.java

            final String addr = prp.getProperty("jcifs.smb1.smb.client.laddr");
    
            if (addr != null) {
                try {
                    return InetAddress.getByName(addr);
                } catch (final UnknownHostException uhe) {
                    if (LogStream.level > 0) {
                        log.println("Ignoring jcifs.smb1.smb.client.laddr address: " + addr);
                        uhe.printStackTrace(log);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top