Home
last modified time | relevance | path

Searched refs:TCP_HEADER_LENGTH (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketForwarderBase.java24 import static com.android.testutils.PacketReflector.TCP_HEADER_LENGTH;
178 transportHdrLen = TCP_HEADER_LENGTH; in processPacket()
DPacketReflector.java64 static final int TCP_HEADER_LENGTH = 20; field in PacketReflector
93 if (len < hdrLen + TCP_HEADER_LENGTH) { in processTcpPacket()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DTcpKeepaliveController.java97 private static final int TCP_HEADER_LENGTH = 20; field in TcpKeepaliveController
181 final int length = IPV4_HEADER_MIN_LEN + TCP_HEADER_LENGTH; in buildV4Packet()
207 buf, 0, IPV4_HEADER_MIN_LEN, TCP_HEADER_LENGTH)); in buildV4Packet()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DIpUtilsTest.java38 private static final int TCP_HEADER_LENGTH = 20; field in IpUtilsTest