Home
last modified time | relevance | path

Searched refs:interf (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipKeyImpl.java43 private final NetworkInterface interf; field in MembershipKeyImpl
57 NetworkInterface interf, in MembershipKeyImpl() argument
62 this.interf = interf; in MembershipKeyImpl()
76 NetworkInterface interf, in Type4() argument
82 super(ch, group, interf, source); in Type4()
111 NetworkInterface interf, in Type6() argument
117 super(ch, group, interf, source); in Type6()
162 return interf; in networkInterface()
212 sb.append(interf.getName()); in toString()
DNet.java207 static Inet4Address anyInet4Address(final NetworkInterface interf) { in anyInet4Address() argument
210 Enumeration<InetAddress> addrs = interf.getInetAddresses(); in anyInet4Address()
523 static int join4(FileDescriptor fd, int group, int interf, int source)
526 return joinOrDrop4(true, fd, group, interf, source);
532 static void drop4(FileDescriptor fd, int group, int interf, int source)
535 joinOrDrop4(false, fd, group, interf, source);
538 …private static native int joinOrDrop4(boolean join, FileDescriptor fd, int group, int interf, int …
544 static int block4(FileDescriptor fd, int group, int interf, int source)
547 return blockOrUnblock4(true, fd, group, interf, source);
553 static void unblock4(FileDescriptor fd, int group, int interf, int source)
[all …]
DDatagramChannelImpl.java234 NetworkInterface interf = (NetworkInterface)value; in setOption() local
236 int index = interf.getIndex(); in setOption()
246 Inet4Address target = Net.anyInet4Address(interf); in setOption()
254 Inet4Address target = Net.anyInet4Address(interf); in setOption()
842 NetworkInterface interf, in innerJoin() argument
883 MembershipKey key = registry.checkMembership(group, interf, source); in innerJoin()
892 int index = interf.getIndex(); in innerJoin()
906 key = new MembershipKeyImpl.Type6(this, group, interf, source, in innerJoin()
911 Inet4Address target = Net.anyInet4Address(interf); in innerJoin()
924 key = new MembershipKeyImpl.Type4(this, group, interf, source, in innerJoin()
[all …]
DMembershipRegistry.java51 MembershipKey checkMembership(InetAddress group, NetworkInterface interf, in checkMembership() argument
58 if (key.networkInterface().equals(interf)) { in checkMembership()
/libcore/ojluni/src/main/java/java/nio/channels/
DMulticastChannel.java180 MembershipKey join(InetAddress group, NetworkInterface interf) in join() argument
228 MembershipKey join(InetAddress group, NetworkInterface interf, InetAddress source) in join() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockDatagramChannel.java120 public MembershipKey join(InetAddress group, NetworkInterface interf) { in join() argument
125 public MembershipKey join(InetAddress group, NetworkInterface interf, InetAddress source) in join() argument
/libcore/ojluni/src/main/native/
DNet.c553 jint group, jint interf, jint source) in Java_sun_nio_ch_Net_joinOrDrop4() argument
562 mreq.imr_interface.s_addr = htonl(interf); in Java_sun_nio_ch_Net_joinOrDrop4()
581 mreq_source.imr_interface.s_addr = htonl(interf); in Java_sun_nio_ch_Net_joinOrDrop4()
599 jint group, jint interf, jint source) in Java_sun_nio_ch_Net_blockOrUnblock4() argument
617 mreq_source.imr_interface.s_addr = htonl(interf); in Java_sun_nio_ch_Net_blockOrUnblock4()
702 Java_sun_nio_ch_Net_setInterface4(JNIEnv* env, jobject this, jobject fdo, jint interf) in Java_sun_nio_ch_Net_setInterface4() argument
708 in.s_addr = htonl(interf); in Java_sun_nio_ch_Net_setInterface4()