Home
last modified time | relevance | path

Searched defs:transportLen (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DIpUtils.java84 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv4()
94 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv6()
112 int ipOffset, int transportOffset, int transportLen) { in transportChecksum()
137 int transportLen = intAbs(buf.getShort(transportOffset + 4)); in udpChecksum() local
145 int transportLen) { in tcpChecksum()
152 public static short icmpChecksum(ByteBuffer buf, int transportOffset, int transportLen) { in icmpChecksum()
161 int transportLen) { in icmpv6Checksum()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DIpUtilsTest.java119 int transportLen = packet.limit() - IPV6_HEADER_LENGTH; in testIpv6TcpChecksum() local
207 int transportLen = packet.limit() - IPV4_HEADER_LENGTH; in testIpv4IcmpChecksum() local
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketReflectorUtil.kt103 val transportLen: Int = len - transportOffset in fixPacketChecksum() constant