Home
last modified time | relevance | path

Searched refs:hasDefaultRoute (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java135 public boolean hasDefaultRoute; field in RouterAdvertisementDaemon.RaParams
142 hasDefaultRoute = false; in RaParams()
150 hasDefaultRoute = other.hasDefaultRoute; in RaParams()
309 putHeader(ra, haveRaParams && mRaParams.hasDefaultRoute, in assembleRaLocked()
377 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument
379 final byte flags = hasDefaultRoute ? asByte(0x08) : asByte(0); in putHeader()
380 final short lifetime = hasDefaultRoute ? asShort(DEFAULT_LIFETIME) : asShort(0); in putHeader()
DIpServer.java792 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
794 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties()