Searched refs:netmask (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
H A DInterfaceAddress.java50 InterfaceAddress(InetAddress address, Inet4Address broadcast, InetAddress netmask) { argument
53 this.maskLength = countPrefixLength(netmask);
57 * Counts the prefix length for the netmask address.
59 * A valid netmask address must start with a continuous sequence of 1, followed by a continuous
62 private short countPrefixLength(InetAddress netmask) { argument
64 for (byte b : netmask.getAddress()) {
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp1556 jobject addr, netmask, broad; local
1567 if ((netmask = sockaddrToInetAddress(env, *netmaskAddr, NULL)) == NULL) {
1598 addr = netmask = broad = NULL;
1604 addr = netmask = broad = NULL;
1607 jobject o = env->NewObject(JniConstants::structIfaddrs, ctor, name, flags, addr, netmask,

Completed in 35 milliseconds