Searched refs:tcpChecksum (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | IpUtilsTest.java | 120 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum() 129 assertChecksumEquals(sum, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum() 134 IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum() 135 assertEquals(0, IpUtils.tcpChecksum(packet, 0, IPV6_HEADER_LENGTH, transportLen)); in testIpv6TcpChecksum()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | PacketBuilder.java | 25 import static com.android.net.module.util.IpUtils.tcpChecksum; 248 mBuffer.putShort(mTcpHeaderOffset + TCP_CHECKSUM_OFFSET, tcpChecksum(mBuffer, in finalizePacket()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | IpUtils.java | 144 public static short tcpChecksum(ByteBuffer buf, int ipOffset, int transportOffset, in tcpChecksum() method in IpUtils
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | PacketReflectorUtil.kt | 104 val checksum = IpUtils.tcpChecksum( in fixPacketChecksum()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 206 buf.putShort(tcpChecksumOffset, IpUtils.tcpChecksum( in buildV4Packet()
|