From 188387ebc64cdeeb4dda0d57bd7fe8243ef227f3 Mon Sep 17 00:00:00 2001 From: Xiao Ma Date: Tue, 14 Feb 2023 12:10:18 +0900 Subject: [PATCH] Add DHCPv6 IA_PD and IA_PREFIX option constants. Bug: 260934173 Test: m Change-Id: I2f6692f4915c937787f023d40924f17f61d4a44e --- .../com/android/net/module/util/NetworkStackConstants.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java index 7b3943cea7..1d88d6ef86 100644 --- a/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java +++ b/staticlibs/framework/com/android/net/module/util/NetworkStackConstants.java @@ -214,11 +214,14 @@ public final class NetworkStackConstants { * * See also: * - https://datatracker.ietf.org/doc/html/rfc8415 + * - https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml */ public static final int DHCP6_CLIENT_PORT = 546; public static final int DHCP6_SERVER_PORT = 547; public static final Inet6Address ALL_DHCP_RELAY_AGENTS_AND_SERVERS = (Inet6Address) InetAddresses.parseNumericAddress("ff02::1:2"); + public static final int DHCP6_OPTION_IA_PD = 25; + public static final int DHCP6_OPTION_IAPREFIX = 26; /** * IEEE802.11 standard constants.