Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isIPv6 (0.04 sec)

  1. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertTrue(newIPv4.isIPv4());
            assertFalse(newIPv4.isIPv6());
            assertEquals(WitnessNotification.WitnessIPAddress.IPV4, newIPv4.getFlags());
    
            // Check IPv6 address
            WitnessNotification.WitnessIPAddress newIPv6 = newAddresses.get(1);
            assertEquals(ipv6, newIPv6.getAddress());
            assertFalse(newIPv6.isIPv4());
            assertTrue(newIPv6.isIPv6());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. cmd/server-startup-msg.go

    	// Prints documentation message.
    	printObjectAPIMsg()
    	if globalIsDistErasure {
    		logger.Startup(color.Bold(banner))
    	}
    }
    
    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000);
    
            assertEquals(testAddress, info.getAddress());
            assertEquals(1000, info.getLinkSpeed());
            assertFalse(info.isIpv6());
            assertEquals(0, info.getCapability());
        }
    
        @Test
        void testIPv6Constructor() throws UnknownHostException {
            InetAddress ipv6Address = InetAddress.getByName("2001:db8::1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessNotification.java

                return (flags & IPV4) != 0;
            }
    
            /**
             * Checks if this is an IPv6 address.
             *
             * @return true if IPv6
             */
            public boolean isIPv6() {
                return (flags & IPV6) != 0;
            }
        }
    
        /**
         * Adds a new IP address to the notification.
         *
         * @param address the new IP address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        public InetAddress getAddress() {
            return address;
        }
    
        /**
         * Check if this is an IPv6 address
         *
         * @return true if IPv6, false if IPv4
         */
        public boolean isIpv6() {
            return ipv6;
        }
    
        /**
         * Check if RSS is supported
         *
         * @return true if RSS capable
         */
        public boolean isRssCapable() {
            return rssCapable;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

            }
            
            public InetAddress getAddress() { return address; }
            public int getFlags() { return flags; }
            public boolean isIPv4() { return (flags & IPV4) != 0; }
            public boolean isIPv6() { return (flags & IPV6) != 0; }
        }
        
        public void addNewIPAddress(InetAddress address) {
            newIPAddresses.add(new WitnessIPAddress(address));
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top