Home
last modified time | relevance | path

Searched refs:hopLimit (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java131 public byte hopLimit; field in RouterAdvertisementDaemon.RaParams
138 hopLimit = DEFAULT_HOPLIMIT; in RaParams()
146 hopLimit = other.hopLimit; in RaParams()
306 haveRaParams ? mRaParams.hopLimit : RaParams.DEFAULT_HOPLIMIT); in assembleRaLocked()
382 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument
403 .put(hopLimit) in putHeader()
DIpServer.java713 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java949 assertEquals(65, noV6Params.hopLimit); in testAdjustTtlValue()
958 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue()
964 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue()
970 assertEquals(63, cellularParams.hopLimit); in testAdjustTtlValue()