commit | 594e34f09add6306f49411a4694a8901666160d4 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Wed Dec 06 13:34:29 2023 +0900 |
committer | Xiao Ma <xiaom@google.com> | Wed Dec 06 13:41:07 2023 +0900 |
tree | e6ec0ba2971caf5da89fc523ff7facaa8e252d54 | |
parent | ed353e90e29a90f2cc79bd227b5aa93b5f505d96 [diff] |
Add a new PIO flag: DHCPv6-PD preferred flag. The new P flag is defined in https://datatracker.ietf.org/doc/draft-ietf-6man-pio-pflag/. Bug: 315069348 Test: TH Change-Id: Ie386cc8b9fbe136333b46c73da785e02983a582b
diff --git a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java index f9895c6..7c4abe0 100644 --- a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java +++ b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java
@@ -189,6 +189,7 @@ public static final byte PIO_FLAG_ON_LINK = (byte) (1 << 7); public static final byte PIO_FLAG_AUTONOMOUS = (byte) (1 << 6); + public static final byte PIO_FLAG_DHCPV6_PD_PREFERRED = (byte) (1 << 4); /** * TCP constants.