Allocate NDIS_PACKET _from your own pool_, allocate NDIS_BUFFER to describe
the packet memory, chain it to the packet, fill the packet OOB fields
(forgotten the exact list, they are filled by macros like NDIS_SET_xxx) and
call NdisSend.
The issue is to distinguish this packet from the "upper" packets in
ProtocolSendComplete. Use the PacketPoolHandle field for this - if this is your
pool, then this is your packet, otherwise, it is the packet arrived from up.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
http://www.storagecraft.com
"brahma" <> wrote in message
news:61B91640-0170-44A2-8115-...
> hi all,
>
> i'm working on ndis 5.0 intermediate driver. Please tell me is there any way
> to originate the packets from intermediate driver,not from the upper protocol
> driver.If it is there, what is process to allocate packets and send it lower
> drivers?
>
> thanQ all.