Home
last modified time | relevance | path

Searched refs:RFC7421_PREFIX_LENGTH (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DInitialConfiguration.java44 private static final int RFC7421_PREFIX_LENGTH = 64; field in InitialConfiguration
196 && (prefixLength <= RFC7421_PREFIX_LENGTH); in isCompliantIPv6PrefixLength()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java21 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
171 if (rule.sourcePrefix.getPrefixLength() != RFC7421_PREFIX_LENGTH) return false; in addIpv6UpstreamRule()
188 if (rule.sourcePrefix.getPrefixLength() != RFC7421_PREFIX_LENGTH) return false; in removeIpv6UpstreamRule()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java35 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
934 if (!mInterfaceCtrl.removeAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
938 mLinkProperties.removeLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
950 if (!mInterfaceCtrl.addAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
955 mLinkProperties.addLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
1585 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in getTetherableIpv6Prefixes()
1586 prefixes.add(new IpPrefix(linkAddr.getAddress(), RFC7421_PREFIX_LENGTH)); in getTetherableIpv6Prefixes()
DRouterAdvertisementDaemon.java32 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
484 if ((new LinkAddress(dns, RFC7421_PREFIX_LENGTH)).isGlobalPreferred()) { in putRdnss()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java134 public static final int RFC7421_PREFIX_LENGTH = 64; field in NetworkStackConstants
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Client.java31 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
541 0 /* preferred */, 0 /* valid */, (byte) RFC7421_PREFIX_LENGTH, in sendPacket()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java45 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
1880 final IpPrefix prefix = new IpPrefix(la.getAddress(), RFC7421_PREFIX_LENGTH); in assembleLinkProperties()
1888 final IpPrefix prefix = new IpPrefix(la.getAddress(), RFC7421_PREFIX_LENGTH); in assembleLinkProperties()
2155 && (la.getPrefixLength() == RFC7421_PREFIX_LENGTH) in isIpv6StableDelegatedAddress()
3236 la = new LinkAddress(address, RFC7421_PREFIX_LENGTH, flags, in addInterfaceAddress()
3247 (short) RFC7421_PREFIX_LENGTH, in addInterfaceAddress()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java71 import static com.android.net.module.util.NetworkStackConstants.RFC7421_PREFIX_LENGTH;
570 RFC7421_PREFIX_LENGTH)); in buildUpstreamLinkProperties()