Ndis IM Driver Problem

Hi all,

First Problem :
I am writing a NDIS IM driver for Windows 98 SE. I
am using the call NdisCopyFromPacketToPacket() for
copying the packet to the new packet allocating the
packet and its buffers. The call is failing with the
BytesCopied returned 0. What is the alternative method
to make the exact duplicate of the obtained packet?

Second Problem :
After loading the driver. After some point of time
the system stops responding. This happens mainly after
doing the DHCP renew/Release continuously for about 10
times. I see no problem with the IM driver.

Please send me some inputs to this.


Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Use the various NDIS functions to examine and then “walk” the packet
descriptor’s NDIS buffer chain. For each NDIS buffer, query the VM pointer
and the length. Copy that to your new packet, and move to the next.

IWO, use fundamental NDIS functions to construct a
NdisCopyFromPacketToPacket function.

The PCAUSA “NDIS Packet” Discussion may help. See the URL:

http://www.pcausa.com/resources/ndispacket.htm

Don’t have a clue about your second problem. Sorry.

Good luck,

Thomas F. Divine

PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:

“Murali S” wrote in message news:xxxxx@ntdev…
>
> Hi all,
>
> First Problem :
> I am writing a NDIS IM driver for Windows 98 SE. I
> am using the call NdisCopyFromPacketToPacket() for
> copying the packet to the new packet allocating the
> packet and its buffers. The call is failing with the
> BytesCopied returned 0. What is the alternative method
> to make the exact duplicate of the obtained packet?
>
> Second Problem :
> After loading the driver. After some point of time
> the system stops responding. This happens mainly after
> doing the DHCP renew/Release continuously for about 10
> times. I see no problem with the IM driver.
>
> Please send me some inputs to this.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
></http:></http:>