Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java56 public final short subnetId; field in IPv6TetheringCoordinator.Downstream
58 Downstream(IpServer ipServer, int mode, short subnetId) { in Downstream() argument
61 this.subnetId = subnetId; in Downstream()
192 return getUniqueLocalConfig(mUniqueLocalPrefix, ds.subnetId); in getInterfaceIPv6LinkProperties()
274 private static LinkProperties getUniqueLocalConfig(byte[] ulp, short subnetId) { in getUniqueLocalConfig() argument
280 final IpPrefix local64 = makeUniqueLocalPrefix(ulp, subnetId, 64); in getUniqueLocalConfig()
290 private static IpPrefix makeUniqueLocalPrefix(byte[] in6addr, short subnetId, int prefixlen) { in makeUniqueLocalPrefix() argument
292 bytes[7] = (byte) (subnetId >> 8); in makeUniqueLocalPrefix()
293 bytes[8] = (byte) subnetId; in makeUniqueLocalPrefix()