Home
last modified time | relevance | path

Searched refs:mGateway (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DRouteInfo.java43 private final InetAddress mGateway; field in RouteInfo
70 mGateway = gateway; in RouteInfo()
94 return (mGateway.equals(Inet4Address.ANY) || mGateway.equals(Inet6Address.ANY)); in isHost()
99 if (mGateway != null) { in isDefault()
100 if (mGateway instanceof Inet4Address) { in isDefault()
115 return mGateway; in getGateway()
129 if (mGateway != null) val += " -> " + mGateway.getHostAddress(); in toString()
146 if (mGateway == null) { in writeToParcel()
150 dest.writeByteArray(mGateway.getAddress()); in writeToParcel()
166 boolean sameAddress = (mGateway == null) ? in equals()
[all …]
/frameworks/base/core/java/android/net/dhcp/
DDhcpAckPacket.java52 ", gateway " + mGateway + dnsServers + in toString()
85 addTlv(buffer, DHCP_ROUTER, mGateway); in finishPacket()
107 machine.onAckReceived(mYourIp, mSubnetMask, mGateway, mDnsServers, in doNextOp()
DDhcpOfferPacket.java54 dnsServers + ", gateway " + mGateway + in toString()
87 addTlv(buffer, DHCP_ROUTER, mGateway); in finishPacket()
DDhcpPacket.java97 protected InetAddress mGateway; field in DhcpPacket
797 newPacket.mGateway = gateway; in decodeFullPacket()
840 pkt.mGateway = gateway; in buildOfferPacket()
860 pkt.mGateway = gateway; in buildAckPacket()