Home
last modified time | relevance | path

Searched refs:v6only (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java226 final LinkProperties v6only = new LinkProperties(); in getIPv6OnlyLinkProperties() local
228 return v6only; in getIPv6OnlyLinkProperties()
234 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
236 v6only.setMtu(lp.getMtu()); in getIPv6OnlyLinkProperties()
240 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
248 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties()
255 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
259 v6only.setDomains(lp.getDomains()); in getIPv6OnlyLinkProperties()
261 return v6only; in getIPv6OnlyLinkProperties()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java771 private void updateUpstreamIPv6LinkProperties(LinkProperties v6only, int ttlAdjustment) { in updateUpstreamIPv6LinkProperties() argument
775 if (Objects.equals(mLastIPv6LinkProperties, v6only)) { in updateUpstreamIPv6LinkProperties()
784 if (v6only != null) { in updateUpstreamIPv6LinkProperties()
785 upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties()
791 params.mtu = v6only.getMtu(); in updateUpstreamIPv6LinkProperties()
792 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
796 params.prefixes = getTetherableIpv6Prefixes(v6only); in updateUpstreamIPv6LinkProperties()
820 mLastIPv6LinkProperties = v6only; in updateUpstreamIPv6LinkProperties()