Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapPortPacketHandler.java94 void sendIkePacket(byte[] ikePacket, InetAddress serverAddress) { in sendIkePacket() argument
101 + ikePacket.length in sendIkePacket()
104 ByteBuffer buffer = ByteBuffer.allocate(NON_ESP_MARKER_LEN + ikePacket.length); in sendIkePacket()
107 buffer.put(NON_ESP_MARKER).put(ikePacket); in sendIkePacket()
DIkeUdpSocket.java92 public void sendIkePacket(byte[] ikePacket, InetAddress serverAddress) { in sendIkePacket() argument
99 + ikePacket.length in sendIkePacket()
102 ByteBuffer buffer = ByteBuffer.wrap(ikePacket); in sendIkePacket()
DIkeUdp6WithEncapPortSocket.java107 public void sendIkePacket(byte[] ikePacket, InetAddress serverAddress) { in sendIkePacket() argument
108 mUdpEncapPortPacketHandler.sendIkePacket(ikePacket, serverAddress); in sendIkePacket()
DIkeUdpEncapSocket.java132 public void sendIkePacket(byte[] ikePacket, InetAddress serverAddress) { in sendIkePacket() argument
133 mUdpEncapPortPacketHandler.sendIkePacket(ikePacket, serverAddress); in sendIkePacket()
DIkeSocket.java241 public abstract void sendIkePacket(byte[] ikePacket, InetAddress serverAddress); in sendIkePacket() argument
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTunUtils.java350 byte[] ikePacket) in buildIkePacket() argument
353 ByteBuffer buffer = ByteBuffer.allocate(NON_ESP_MARKER_LEN + ikePacket.length); in buildIkePacket()
355 buffer.put(ikePacket); in buildIkePacket()
356 ikePacket = buffer.array(); in buildIkePacket()
359 UdpHeader udpPkt = new UdpHeader(srcPort, dstPort, new BytePayload(ikePacket)); in buildIkePacket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java948 byte[] ikePacket = "testSendIkePacket".getBytes(); in testSendIkePacket()
949 mIkeConnectionCtrl.sendIkePacket(ikePacket); in testSendIkePacket()
951 verify(mMockIkeUdp4Socket).sendIkePacket(eq(ikePacket), eq(REMOTE_ADDRESS)); in testSendIkePacket()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java605 public void sendIkePacket(byte[] ikePacket) { in sendIkePacket() argument
606 mIkeSocket.sendIkePacket(ikePacket, mRemoteAddress); in sendIkePacket()