Searched refs:tcpChecksum (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/android/net/util/ |
D | IpUtilsTest.java | 104 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/ |
D | IpUtils.java | 137 public static short tcpChecksum(ByteBuffer buf, int ipOffset, int transportOffset, in tcpChecksum() method in IpUtils
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 143 buf.putShort(tcpChecksumOffset, IpUtils.tcpChecksum( in buildV4Packet()
|