commit | 25ac0f1fb1de88dcb1219516faea25089aab682c | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Thu Jun 17 05:35:29 2021 +0000 |
committer | Xiao Ma <xiaom@google.com> | Thu Jun 17 05:36:49 2021 +0000 |
tree | 638925fce06951eb83e9580f964eac1c3e4943f4 | |
parent | 4c62cc12b085e541b6c0e14d172a722b36a65df5 [diff] |
Add ICMPv6 ND header length constants. Bug: 163492391 Test: m Change-Id: Ica318fc476b190416530be4e0d983132adac1ba5
diff --git a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java index b7062e7..f7151d7 100644 --- a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java +++ b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java
@@ -148,7 +148,10 @@ public static final int ICMPV6_ND_OPTION_RDNSS = 25; public static final int ICMPV6_ND_OPTION_PREF64 = 38; + public static final int ICMPV6_RS_HEADER_LEN = 8; public static final int ICMPV6_RA_HEADER_LEN = 16; + public static final int ICMPV6_NS_HEADER_LEN = 24; + public static final int ICMPV6_NA_HEADER_LEN = 24; public static final int NEIGHBOR_ADVERTISEMENT_FLAG_ROUTER = 1 << 31; public static final int NEIGHBOR_ADVERTISEMENT_FLAG_SOLICITED = 1 << 30;