Sorry. How should I populate the _INTERMEDIATE_BUFFER for sending the packet to the adapter?
This is what I tried originally,
CopyMemory(recv_buf\m_IBuffer, send_buf\m_IBuffer, recv_buf\m_Length)
send_buf\m_Length = recv_buf\m_Length
send_buf\m_Flags = #NDIS_PACKET_TYPE_PROMISCUOUS
SendPacketToAdapter(val\filter, val\send_pkt)