Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java131 public boolean hasDefaultRoute; field in RouterAdvertisementDaemon.RaParams
138 hasDefaultRoute = false; in RaParams()
146 hasDefaultRoute = other.hasDefaultRoute; in RaParams()
295 putHeader(ra, haveRaParams && mRaParams.hasDefaultRoute, in assembleRaLocked()
368 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument
391 .put(hasDefaultRoute ? asByte(0x08) : asByte(0)) in putHeader()
392 .putShort(hasDefaultRoute ? asShort(DEFAULT_LIFETIME) : asShort(0)) in putHeader()
DIpServer.java525 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
527 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(v6only.getInterfaceName()); in updateUpstreamIPv6LinkProperties()