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.java137 public boolean hasDefaultRoute; field in RouterAdvertisementDaemon.RaParams
144 hasDefaultRoute = false; in RaParams()
152 hasDefaultRoute = other.hasDefaultRoute; in RaParams()
311 putHeader(ra, haveRaParams && mRaParams.hasDefaultRoute, in assembleRaLocked()
379 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument
381 final byte flags = hasDefaultRoute ? asByte(0x08) : asByte(0); in putHeader()
382 final short lifetime = hasDefaultRoute ? asShort(DEFAULT_LIFETIME) : asShort(0); in putHeader()
DIpServer.java731 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
733 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties()