Searched refs:v6Addr (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | Nat464Xlat.java | 558 final byte[] v6Addr = new byte[16]; in convertv4ToClatv6() 560 System.arraycopy(prefix.getAddress().getAddress(), 0, v6Addr, 0, 12); in convertv4ToClatv6() local 561 System.arraycopy(addr.getAddress(), 0, v6Addr, 12, 4); in convertv4ToClatv6() local 564 return (Inet6Address) Inet6Address.getByAddress(v6Addr); in convertv4ToClatv6()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinatorTest.java | 243 final LinkAddress v4Addr, final LinkAddress v6Addr, final NetworkCapabilities cap) { in buildUpstreamNetworkState() argument 248 if (v6Addr != null) prop.addLinkAddress(v6Addr); in buildUpstreamNetworkState()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | LinkProperties.java | 1769 final Inet6Address v6Addr = (Inet6Address) addr; in writeAddress() local 1770 final boolean hasScopeId = v6Addr.getScopeId() != 0; in writeAddress() 1772 if (hasScopeId) dest.writeInt(v6Addr.getScopeId()); in writeAddress()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionControllerTest.java | 790 final LinkAddress v6Addr = new LinkAddress("2001:db8:1:3::1/64"); in verifyUsedIpVersion() local 792 lp.addLinkAddress(v6Addr); in verifyUsedIpVersion() 796 controller.addRemoteAddress(v6Addr.getAddress()); in verifyUsedIpVersion()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 7311 const std::string v6Addr = makeIpv6AddrString(1); in init() local 7312 if (auto r = mNetdSrv->interfaceAddAddress(mIfname, v6Addr, 128); !r.isOk()) { in init() 7807 const std::string v6Addr = network.makeIpv6AddrString(1); in TEST_F() local 7809 mDnsClient.netdService()->interfaceAddAddress(network.ifname(), v6Addr, 128).isOk()); in TEST_F()
|