Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/util/
DIpUtilsTest.java104 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum()
113 assertChecksumEquals(sum, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum()
118 IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum()
119 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum()
/frameworks/base/core/java/android/net/util/
DIpUtils.java137 public static short tcpChecksum(ByteBuffer buf, int ipOffset, int transportOffset, in tcpChecksum() method in IpUtils
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java143 buf.putShort(tcpChecksumOffset, IpUtils.tcpChecksum( in buildV4Packet()