Home
last modified time | relevance | path

Searched refs:IPV4_HEADER_LENGTH (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/
DKeepalivePacketDataUtil.java41 private static final int IPV4_HEADER_LENGTH = 20; field in KeepalivePacketDataUtil
124 tcpSeq = buffer.getInt(IPV4_HEADER_LENGTH + 4); in parseTcpKeepalivePacketData()
125 tcpAck = buffer.getInt(IPV4_HEADER_LENGTH + 8); in parseTcpKeepalivePacketData()
126 wndSize = buffer.getShort(IPV4_HEADER_LENGTH + 14); in parseTcpKeepalivePacketData()
/packages/modules/Connectivity/framework/src/android/net/
DNattKeepalivePacketData.java40 private static final int IPV4_HEADER_LENGTH = 20; field in NattKeepalivePacketData
67 int length = IPV4_HEADER_LENGTH + UDP_HEADER_LENGTH + 1; in nattKeepalivePacket()
86 buf.putShort(udpChecksumOffset, IpUtils.udpChecksum(buf, 0, IPV4_HEADER_LENGTH)); in nattKeepalivePacket()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DPacketReflector.java33 private static int IPV4_HEADER_LENGTH = 20; field in PacketReflector
215 hdrLen = IPV4_HEADER_LENGTH; in processPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/util/
DNetworkStackUtilsIntegrationTest.kt49 import com.android.testutils.IPV4_HEADER_LENGTH
141 ETHER_HEADER_LENGTH + IPV4_HEADER_LENGTH + UDP_HEADER_LENGTH, sentPacket.size) in testAddArpEntry()
/packages/modules/Connectivity/tests/common/java/android/net/
DNattKeepalivePacketDataTest.kt45 private val IPV4_HEADER_LENGTH = 20 constant
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt424 Landroid/net/KeepalivePacketData;->IPV4_HEADER_LENGTH:I