/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/ |
D | RaHeader.java | 43 public final byte hopLimit; field in RaHeader 54 public RaHeader(final byte hopLimit, final byte flags, final int lifetime, in RaHeader() argument 56 this.hopLimit = hopLimit; in RaHeader()
|
D | Ipv6Header.java | 60 public short hopLimit; field in Ipv6Header 67 final short hopLimit, final Inet6Address srcIp, final Inet6Address dstIp) { in Ipv6Header() argument 71 this.hopLimit = hopLimit; in Ipv6Header()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | Ipv6UtilsTest.java | 64 assertEquals(255, ipv6.hopLimit); in testBuildRsPacket() 93 assertEquals(255, ipv6.hopLimit); in testBuildRaPacket() 103 assertEquals(0, ra.hopLimit); // Hop limit: unspecified. in testBuildRaPacket() 124 assertEquals(255, ipv6.hopLimit); in testBuildEchoRequestPacket() 139 assertEquals(255, ipv6.hopLimit); in testBuildEchoReplyPacket()
|
D | PacketBuilderTest.java | 641 assertEquals(HOP_LIMIT, ipv6Header.hopLimit); in checkIpv6Header()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 136 public byte hopLimit; field in RouterAdvertisementDaemon.RaParams 143 hopLimit = DEFAULT_HOPLIMIT; in RaParams() 151 hopLimit = other.hopLimit; in RaParams() 310 haveRaParams ? mRaParams.hopLimit : RaParams.DEFAULT_HOPLIMIT); in assembleRaLocked() 377 private static void putHeader(ByteBuffer ra, boolean hasDefaultRoute, byte hopLimit) { in putHeader() argument 384 final RaHeader raHeader = new RaHeader(hopLimit, flags, lifetime, 0 /* reachableTime */, in putHeader()
|
D | IpServer.java | 794 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | PacketBuilder.java | 150 public void writeIpv6Header(int vtf, byte nextHeader, short hopLimit, in writeIpv6Header() argument 156 hopLimit, srcIp, dstIp); in writeIpv6Header()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | RouterAdvertisementDaemonTest.java | 188 assertEquals(mNewParams.hopLimit, raHdr.hopLimit); in isPacketMatched()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/ |
D | NeighborSolicitationTest.java | 215 assertEquals(0xff, ns.ipv6Hdr.hopLimit); in assertNeighborSolicitation()
|
D | NeighborAdvertisementTest.java | 214 assertEquals(0xff, na.ipv6Hdr.hopLimit); in assertNeighborAdvertisement()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | FullThreadDevice.java | 461 int hopLimit, in ping() argument 475 + hopLimit in ping()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 854 assertEquals(65, noV6Params.hopLimit); in testAdjustTtlValue() 863 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue() 869 assertEquals(65, nonCellularParams.hopLimit); in testAdjustTtlValue() 875 assertEquals(63, cellularParams.hopLimit); in testAdjustTtlValue()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 3779 assertEquals(0xff, na.ipv6Hdr.hopLimit); 3797 assertEquals(0xff, ns.ipv6Hdr.hopLimit); 3938 assertEquals(0xff, ns.ipv6Hdr.hopLimit);
|