Home
last modified time | relevance | path

Searched defs:transportOffset (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DIpUtils.java112 int ipOffset, int transportOffset, int transportLen) { in transportChecksum()
136 public static short udpChecksum(ByteBuffer buf, int ipOffset, int transportOffset) { in udpChecksum()
144 public static short tcpChecksum(ByteBuffer buf, int ipOffset, int transportOffset, in tcpChecksum()
152 public static short icmpChecksum(ByteBuffer buf, int transportOffset, int transportLen) { in icmpChecksum()
160 public static short icmpv6Checksum(ByteBuffer buf, int ipOffset, int transportOffset, in icmpv6Checksum()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DInternalPacketForwarder.kt35 val transportOffset = getTransportOffset(version) + DESTINATION_PORT_OFFSET in remapPort() constant
DExternalPacketForwarder.kt36 val transportOffset = getTransportOffset(version) in remapPort() constant
DPacketReflectorUtil.kt84 val transportOffset = if (version == 4) IPV4_HEADER_LENGTH else IPV6_HEADER_LENGTH in fixPacketChecksum() constant
DPacketForwarderBase.java125 int getRemappedPort(@NonNull byte[] buf, int transportOffset) { in getRemappedPort()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java201 final int transportOffset = ETH_HEADER_LEN + IPV6_HEADER_LEN; in createDadPacket() local