From 64a0446d9f75da1cffe457c234e8a054da2aa60f Mon Sep 17 00:00:00 2001 From: chiachangwang Date: Thu, 27 Apr 2023 15:09:31 +0000 Subject: Add ICMP header length constant Bug: 277376698 Test: m (cherry picked from https://android-review.googlesource.com/q/commit:285bd8dd932bc900f4d9df2b6e9d324929366392) Merged-In: I7edcf0f809bb9d5fa72e2c70110efabbaa349adf Change-Id: I7edcf0f809bb9d5fa72e2c70110efabbaa349adf --- common/framework/com/android/net/module/util/NetworkStackConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/framework/com/android/net/module/util/NetworkStackConstants.java b/common/framework/com/android/net/module/util/NetworkStackConstants.java index aa2dd4c1..96f6aace 100644 --- a/common/framework/com/android/net/module/util/NetworkStackConstants.java +++ b/common/framework/com/android/net/module/util/NetworkStackConstants.java @@ -135,7 +135,7 @@ public final class NetworkStackConstants { * - https://tools.ietf.org/html/rfc792 */ public static final int ICMP_CHECKSUM_OFFSET = 2; - + public static final int ICMP_HEADER_LEN = 8; /** * ICMPv6 constants. * -- cgit v1.2.3