Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DIkeTunUtils.java61 final InetAddress dstAddr = getSrcAddress(request); in awaitReqAndInjectResp() local
66 buildIkePacket(srcAddr, dstAddr, srcPort, dstPort, encapExpected, respIkePkt); in awaitReqAndInjectResp()
170 InetAddress dstAddr, in buildIkePacket() argument
185 final IpHeader ipPkt = getIpHeader(udpPkt.getProtocolId(), srcAddr, dstAddr, udpPkt); in buildIkePacket()
DPacketUtils.java76 public final InetAddress dstAddr; field in PacketUtils.IpHeader
82 this.dstAddr = dst; in IpHeader()
134 bb.put(dstAddr.getAddress()); in buildHeader()
189 bb.put(dstAddr.getAddress()); in getPacketBytes()
279 ShortBuffer dstBuffer = ByteBuffer.wrap(header.dstAddr.getAddress()).asShortBuffer(); in calculateChecksum()
DIpSecBaseTest.java128 void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception; in sendTo() argument
203 public void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception { in sendTo() argument
204 Os.sendto(mFd, data, 0, data.length, 0, dstAddr, port); in sendTo()
239 public void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception { in sendTo() argument
240 mSocket.send(new DatagramPacket(data, data.length, dstAddr, port)); in sendTo()
DConnectivityManagerTest.java1144 final InetAddress dstAddr = getAddrByName(TEST_HOST, AF_INET); in createConcurrentNattSocketKeepalives() local
1146 assertNotNull(dstAddr); in createConcurrentNattSocketKeepalives()
1151 srcAddr, dstAddr, executor, callback)); in createConcurrentNattSocketKeepalives()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java82 public final InetAddress dstAddr; field in PacketUtils.IpHeader
88 this.dstAddr = dst; in IpHeader()
140 bb.put(dstAddr.getAddress()); in buildHeader()
195 bb.put(dstAddr.getAddress()); in getPacketBytes()
285 ShortBuffer dstBuffer = ByteBuffer.wrap(header.dstAddr.getAddress()).asShortBuffer(); in calculateChecksum()
DIkeTunUtils.java138 InetAddress dstAddr = getAddress(request, true /* shouldGetSource */); in awaitReqAndInjectResp() local
145 dstAddr, in awaitReqAndInjectResp()
347 InetAddress dstAddr, in buildIkePacket() argument
361 IpHeader ipPkt = getIpHeader(udpPkt.getProtocolId(), srcAddr, dstAddr, udpPkt); in buildIkePacket()