Searched refs:toIpv4MappedAddressBytes (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DscpPolicyValue.java | 74 private byte[] toIpv4MappedAddressBytes(InetAddress ia) { in toIpv4MappedAddressBytes() method in DscpPolicyValue 92 return toIpv4MappedAddressBytes(addr); in toAddressField()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 908 if (Arrays.equals(v.dst46, toIpv4MappedAddressBytes(clientAddr))) { in tetherOffloadRuleClear() 1875 static byte[] toIpv4MappedAddressBytes(Inet4Address ia4) { in toIpv4MappedAddressBytes() method in BpfCoordinator 1970 upstreamInfo.mtu, toIpv4MappedAddressBytes(e.tupleReply.dstIp), in makeTetherUpstream4Value() 1971 toIpv4MappedAddressBytes(e.tupleReply.srcIp), e.tupleReply.dstPort, in makeTetherUpstream4Value() 1980 toIpv4MappedAddressBytes(e.tupleOrig.dstIp), in makeTetherDownstream4Value() 1981 toIpv4MappedAddressBytes(e.tupleOrig.srcIp), in makeTetherDownstream4Value()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 61 import static com.android.networkstack.tethering.BpfCoordinator.toIpv4MappedAddressBytes; 354 private byte[] mSrc46 = toIpv4MappedAddressBytes(PUBLIC_ADDR); 355 private byte[] mDst46 = toIpv4MappedAddressBytes(REMOTE_ADDR); 379 private byte[] mSrc46 = toIpv4MappedAddressBytes(REMOTE_ADDR); 380 private byte[] mDst46 = toIpv4MappedAddressBytes(PRIVATE_ADDR); 2285 NetworkStackConstants.ETHER_MTU, toIpv4MappedAddressBytes(PUBLIC_ADDR), in makeUpstream4Value() 2286 toIpv4MappedAddressBytes(REMOTE_ADDR), publicPort, REMOTE_PORT, in makeUpstream4Value() 2295 ETH_P_IP, NetworkStackConstants.ETHER_MTU, toIpv4MappedAddressBytes(REMOTE_ADDR), in makeDownstream4Value() 2296 toIpv4MappedAddressBytes(privateAddr), REMOTE_PORT, privatePort, 0 /* lastUsed */); in makeDownstream4Value()
|