Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java210 final LinkProperties v6only = new LinkProperties(); in getIPv6OnlyLinkProperties() local
212 return v6only; in getIPv6OnlyLinkProperties()
218 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
220 v6only.setMtu(lp.getMtu()); in getIPv6OnlyLinkProperties()
224 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
232 v6only.addRoute(routeInfo); in getIPv6OnlyLinkProperties()
239 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
243 v6only.setDomains(lp.getDomains()); in getIPv6OnlyLinkProperties()
245 return v6only; in getIPv6OnlyLinkProperties()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java512 private void updateUpstreamIPv6LinkProperties(LinkProperties v6only) { in updateUpstreamIPv6LinkProperties() argument
516 if (Objects.equals(mLastIPv6LinkProperties, v6only)) { in updateUpstreamIPv6LinkProperties()
522 if (v6only != null) { in updateUpstreamIPv6LinkProperties()
524 params.mtu = v6only.getMtu(); in updateUpstreamIPv6LinkProperties()
525 params.hasDefaultRoute = v6only.hasIpv6DefaultRoute(); in updateUpstreamIPv6LinkProperties()
527 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(v6only.getInterfaceName()); in updateUpstreamIPv6LinkProperties()
529 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()
546 mLastIPv6LinkProperties = v6only; in updateUpstreamIPv6LinkProperties()