Expose MIN_MTU_V6 as a public, @hide constant
MIN_MTU_V6 is increasingly used, and the LinkProperties version is used as a source of truth for the constant. Bug: 163602123 Test: atest FrameworksNetTests Change-Id: I67134cd4fb7e2cf59c36947b62f681ac9b94ea4a
This commit is contained in:
@@ -80,8 +80,10 @@ public final class LinkProperties implements Parcelable {
|
||||
private final transient boolean mParcelSensitiveFields;
|
||||
|
||||
private static final int MIN_MTU = 68;
|
||||
/* package-visibility - Used in other files (such as Ikev2VpnProfile) as minimum iface MTU. */
|
||||
static final int MIN_MTU_V6 = 1280;
|
||||
|
||||
/** @hide */
|
||||
public static final int MIN_MTU_V6 = 1280;
|
||||
|
||||
private static final int MAX_MTU = 10000;
|
||||
|
||||
private static final int INET6_ADDR_LENGTH = 16;
|
||||
|
||||
Reference in New Issue
Block a user