Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java57 public final short subnetId; field in IPv6TetheringCoordinator.Downstream
59 Downstream(IpServer ipServer, int mode, short subnetId) { in Downstream() argument
62 this.subnetId = subnetId; in Downstream()
177 return getUniqueLocalConfig(mUniqueLocalPrefix, ds.subnetId); in getInterfaceIPv6LinkProperties()
259 private static LinkProperties getUniqueLocalConfig(byte[] ulp, short subnetId) { in getUniqueLocalConfig() argument
265 final IpPrefix local64 = makeUniqueLocalPrefix(ulp, subnetId, 64); in getUniqueLocalConfig()
275 private static IpPrefix makeUniqueLocalPrefix(byte[] in6addr, short subnetId, int prefixlen) { in makeUniqueLocalPrefix() argument
277 bytes[7] = (byte) (subnetId >> 8); in makeUniqueLocalPrefix()
278 bytes[8] = (byte) subnetId; in makeUniqueLocalPrefix()