Searched refs:Inet6Address (Results 1 - 25 of 47) sorted by relevance

12

/openjdk7/jdk/test/java/net/Inet6Address/
H A DB6206527.java36 Inet6Address addr = getLocalAddr();
47 addr = (Inet6Address)InetAddress.getByAddress (
56 public static Inet6Address getLocalAddr () throws Exception {
63 if (a instanceof Inet6Address) {
64 Inet6Address ia6 = (Inet6Address) a;
H A DB4923906.java27 * @summary Inet6Address.getScopedInterface() returns a String instead of a NetworkInterface
43 if (a instanceof Inet6Address) {
44 Inet6Address ia6 = (Inet6Address) a;
H A DB6214234.java48 Inet6Address addr = getLocalAddr();
59 public static Inet6Address getLocalAddr () throws Exception {
66 if (a instanceof Inet6Address) {
67 Inet6Address ia6 = (Inet6Address) a;
H A DB6558853.java50 if (a.getAddress() instanceof Inet6Address) {
51 Inet6Address a6 = (Inet6Address) a.getAddress();
69 if (!(a instanceof Inet6Address) || a.getHostAddress().indexOf("%") == -1) {
/openjdk7/jdk/test/java/net/Inet6Address/serialize/
H A DSerialize.java28 * @summary java.net.Inet6Address fails to be serialized with IPv6 support
47 if (o instanceof Inet6Address) {
48 Inet6Address addr = (Inet6Address) o;
58 Inet6Address addr1 = Inet6Address.getByAddress ("foo", bytes, nif);
68 Inet6Address nobj;
74 nobj = (Inet6Address) ois.readObject();
83 if (!test ((Inet6Address)InetAddress.getByName ("fe80::1%99"))) {
91 nobj = (Inet6Address) oi
[all...]
/openjdk7/jdk/test/java/net/ipv6tests/
H A DScopeTests.java49 Inet6Address addr = (Inet6Address) InetAddress.getByName (a);
56 Inet6Address addr = (Inet6Address) InetAddress.getByName (a);
90 if (addr instanceof Inet6Address) {
91 Inet6Address ia6 = (Inet6Address) addr;
108 /* check the scoped name on the Inet6Address is the same as
111 static void ctest1 (String ifname, Inet6Address ia6) throws Exception {
120 * compare the numeric scope id with that of the Inet6Address passe
[all...]
H A DB6521014.java39 * cached_scope_id field of java.net.Inet6Address. Native method
41 * and read this field, therefore Inet6Address becomes 'stateful'.
43 * the same Inet6Address instance as illustrated in this test case,
48 * with Inet6Address instance, which caused bind exception. This test use
57 static Inet6Address getLocalAddr () throws Exception {
66 if (a instanceof Inet6Address) {
67 Inet6Address ia6 = (Inet6Address) a;
70 return (Inet6Address)InetAddress.getByAddress(ia6.getAddress());
H A DTcpTest.java40 static Inet6Address ia6addr;
90 if (s1peer instanceof Inet6Address) {
95 t_assert ((s2peer instanceof Inet6Address));
H A DTests.java191 public static Inet6Address getFirstLocalIPv6Address () {
196 return (Inet6Address)e.nextElement();
200 return new AddrEnum (Inet6Address.class);
/openjdk7/jdk/src/share/classes/java/net/
H A DInet6AddressImpl.java63 if (inetaddr instanceof Inet6Address) {
64 netif_scope = ((Inet6Address) inetaddr).getScopeId();
75 if (addr instanceof Inet6Address)
76 scope = ((Inet6Address) addr).getScopeId();
83 anyLocalAddress = new Inet6Address();
98 loopbackAddress = new Inet6Address("localhost", loopback);
H A DInet6Address.java112 * value, the full form is used. Inet6Address will return the full
125 * <p>In InetAddress and Inet6Address, it is used for internal
157 * When an Inet6Address is created in this way, the numeric scope-id is determined at the time
160 * Note also, that the numeric <i>scope_id</i> can be retrieved from Inet6Address instances returned from the
166 class Inet6Address extends InetAddress { class in inherits:InetAddress
214 Inet6Address() { method in class:Inet6Address
224 Inet6Address(String hostName, byte addr[], int scope_id) { method in class:Inet6Address
236 Inet6Address(String hostName, byte addr[]) { method in class:Inet6Address
242 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { method in class:Inet6Address
246 Inet6Address (Strin method in class:Inet6Address
[all...]
/openjdk7/jdk/test/java/net/DatagramSocket/
H A DLocalSocketAddress.java31 import java.net.Inet6Address;
49 if (addr instanceof Inet6Address) {
/openjdk7/jdk/test/java/net/InetAddress/
H A DB5087907.java54 if (addr instanceof Inet6Address) {
74 if (!(lh instanceof Inet6Address)) failed = true;
H A DCheckJNI.java64 if (addr instanceof Inet6Address) {
65 Inet6Address ia6 = (Inet6Address) addr;
H A DIsHostReachableBug.java45 System.out.println("Is InetAddress instance of Inet6Address ? "
46 + (addr instanceof Inet6Address));
/openjdk7/jdk/test/java/rmi/Naming/
H A DLookupIPv6.java33 import java.net.Inet6Address;
62 * an Inet6Address since this test is run with
66 if (localAddr instanceof Inet6Address) {
/openjdk7/jdk/test/java/net/NetworkInterface/
H A DIPv4Only.java45 if ( hostAddr instanceof Inet6Address ){
/openjdk7/jdk/test/java/net/MulticastSocket/
H A DMulticastAddresses.java54 if (addr instanceof Inet6Address) {
89 if (ia instanceof Inet6Address && !ipv6_available) {
117 if (ia instanceof Inet6Address && !ipv6_available) {
/openjdk7/jdk/test/java/net/Inet4Address/
H A DPingThis.java36 import java.net.Inet6Address;
51 if (addr instanceof Inet6Address)
/openjdk7/jdk/src/share/sample/nio/multicast/
H A DSender.java67 if (target.group() instanceof Inet6Address)
/openjdk7/jdk/src/share/classes/sun/management/jdp/
H A DJdpBroadcaster.java28 import java.net.Inet6Address;
70 ProtocolFamily family = (address instanceof Inet6Address)
/openjdk7/jdk/make/java/net/
H A DFILES_c.gmk30 Inet6Address.c \
/openjdk7/jdk/test/java/net/Socket/
H A DLinkLocal.java122 if ( !(ia instanceof Inet6Address) ||
147 if (addr instanceof Inet6Address &&
/openjdk7/jdk/test/sun/management/jdp/
H A DJdpClient.java25 import java.net.Inet6Address;
130 ProtocolFamily family = (address instanceof Inet6Address)
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DNetworkConfiguration.java84 } else if (addr instanceof Inet6Address) {

Completed in 89 milliseconds

12