Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java138 public byte hopLimit; field in RouterAdvertisementDaemon.RaParams
145 hopLimit = DEFAULT_HOPLIMIT; in RaParams()
153 hopLimit = other.hopLimit; in RaParams()
312 haveRaParams ? mRaParams.hopLimit : RaParams.DEFAULT_HOPLIMIT); in assembleRaLocked()
379 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument
386 final RaHeader raHeader = new RaHeader(hopLimit, flags, lifetime, 0 /* reachableTime */, in putHeader()
DIpServer.java733 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java191 assertEquals(mNewParams.hopLimit, raHdr.hopLimit); in isPacketMatched()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborAdvertisementTest.java177 assertEquals(0xff, na.ipv6Hdr.hopLimit); in testGratuitousNa_parse()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java1231 assertEquals(65, noV6Params.hopLimit); in testAdjustTtlValue()
1240 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue()
1246 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue()
1252 assertEquals(63, cellularParams.hopLimit); in testAdjustTtlValue()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java2876 assertEquals(0xff, na.ipv6Hdr.hopLimit);