Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java225 final LinkProperties v6only = new LinkProperties(); in getIPv6OnlyLinkProperties() local
227 return v6only; in getIPv6OnlyLinkProperties()
233 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
235 v6only.setMtu(lp.getMtu()); in getIPv6OnlyLinkProperties()
239 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
247 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties()
254 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
258 v6only.setDomains(lp.getDomains()); in getIPv6OnlyLinkProperties()
260 return v6only; in getIPv6OnlyLinkProperties()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java695 private void updateUpstreamIPv6LinkProperties(LinkProperties v6only, int ttlAdjustment) { in updateUpstreamIPv6LinkProperties() argument
699 if (Objects.equals(mLastIPv6LinkProperties, v6only)) { in updateUpstreamIPv6LinkProperties()
706 if (v6only != null) { in updateUpstreamIPv6LinkProperties()
707 final String upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties()
710 params.mtu = v6only.getMtu(); in updateUpstreamIPv6LinkProperties()
711 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
715 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()
743 mLastIPv6LinkProperties = v6only; in updateUpstreamIPv6LinkProperties()