Home
last modified time | relevance | path

Searched refs:IPV4_HEADER_MIN_LEN (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DTcpKeepaliveController.java34 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;
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()
DNetworkDiagnostics.java24 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;
289 return IPV4_HEADER_MIN_LEN + ICMP_HEADER_LEN; in getHeaderLen()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java26 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;
612 assertEquals(IPV4_HEADER_MIN_LEN + TCP_HEADER_MIN_LEN + dataLength, in checkIpv4Header()
617 assertEquals(IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN + dataLength, in checkIpv4Header()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java91 public static final int IPV4_HEADER_MIN_LEN = 20; field in NetworkStackConstants
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt54 import com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN
157 ETHER_HEADER_LEN + IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN, sentPacket.size) in testAddArpEntry()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java49 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;
204 mPacket.remaining() < IPV4_HEADER_MIN_LEN) { in parseIPv4()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java50 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;
836 packet.putShort(ipv4HeaderOffset + IPV4_HEADER_MIN_LEN + ICMP_CHECKSUM_OFFSET,
837 icmpChecksum(packet, ipv4HeaderOffset + IPV4_HEADER_MIN_LEN,