Home
last modified time | relevance | path

Searched refs:ICMP_CHECKSUM_OFFSET (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DIpUtilsTest.java19 import static com.android.net.module.util.NetworkStackConstants.ICMP_CHECKSUM_OFFSET;
211 int sumOffset = IPV4_HEADER_LENGTH + ICMP_CHECKSUM_OFFSET; in testIpv4IcmpChecksum()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java150 public static final int ICMP_CHECKSUM_OFFSET = 2; field in NetworkStackConstants
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java48 import static com.android.net.module.util.NetworkStackConstants.ICMP_CHECKSUM_OFFSET;
836 packet.putShort(ipv4HeaderOffset + IPV4_HEADER_MIN_LEN + ICMP_CHECKSUM_OFFSET,