Searched refs:dstAddr (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/net/src/android/net/cts/ |
D | IkeTunUtils.java | 61 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()
|
D | PacketUtils.java | 76 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()
|
D | IpSecBaseTest.java | 128 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()
|
D | ConnectivityManagerTest.java | 1144 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/ |
D | PacketUtils.java | 82 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()
|
D | IkeTunUtils.java | 138 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()
|