Home
last modified time | relevance | path

Searched refs:recvbuf (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java52 protected final void handlePacket(@NonNull Payload recvbuf, int length) { in handlePacket() argument
53 if (recvbuf.mSrcAddr == null) { in handlePacket()
58 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket()
60 onReceive(packet, recvbuf.mSrcAddr, recvbuf.mSrcPort); in handlePacket()
62 logParseError(recvbuf.mBytes, length, e); in handlePacket()
DDhcpClient.java616 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
620 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf, length, in handlePacket()
627 Log.d(TAG, HexDump.dumpHexString(recvbuf, 0, length)); in handlePacket()
1449 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
1451 final ArpPacket packet = ArpPacket.parseArpPacket(recvbuf, length); in handlePacket()
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp197 const std::vector<uint8_t>& recvbuf = r.response; in validate() local
198 if (recvbuf.size() < NS_HFIXEDSZ) { in validate()
203 const int qdcount = (recvbuf[4] << 8) | recvbuf[5]; in validate()
209 const int ancount = (recvbuf[6] << 8) | recvbuf[7]; in validate()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpSocket.java59 byte[] recvbuf, LongSparseArray<IkeSessionStateMachine> spiToIkeSession) { in handlePacket() argument
60 ByteBuffer byteBuffer = ByteBuffer.wrap(recvbuf); in handlePacket()
81 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
82 sPacketReceiver.handlePacket(Arrays.copyOfRange(recvbuf, 0, length), mSpiToIkeSession); in handlePacket()
DIkeUdpEncapSocket.java129 byte[] recvbuf, LongSparseArray<IkeSessionStateMachine> spiToIkeSession) { in handlePacket() argument
130 ByteBuffer byteBuffer = ByteBuffer.wrap(recvbuf); in handlePacket()
162 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
163 sPacketReceiver.handlePacket(Arrays.copyOfRange(recvbuf, 0, length), mSpiToIkeSession); in handlePacket()
DIkeSocket.java174 protected abstract void handlePacket(byte[] recvbuf, int length); in handlePacket() argument
247 void handlePacket(byte[] recvbuf, LongSparseArray<IkeSessionStateMachine> spiToIkeSession); in handlePacket() argument
/packages/modules/NetworkStack/src/android/net/ip/
DConnectivityPacketTracker.java124 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
138 summary = ConnectivityPacketSummary.summarize(mInterface.macAddr, recvbuf, length); in handlePacket()
146 addLogEntry(summary + "\n[" + HexDump.toHexString(recvbuf, 0, length) + "]"); in handlePacket()
/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java95 public static ArpPacket parseArpPacket(final byte[] recvbuf, final int length) in parseArpPacket() argument
98 if (length < ARP_ETHER_IPV4_LEN || recvbuf.length < length) { in parseArpPacket()
102 final ByteBuffer buffer = ByteBuffer.wrap(recvbuf, 0, length); in parseArpPacket()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java103 protected void handlePacket(byte[] recvbuf, int length) { in handlePacket() argument
105 final ByteBuffer byteBuffer = ByteBuffer.wrap(recvbuf, 0, length); in handlePacket()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java170 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket() argument