Hello
How can I write a packet to NDIS from my Application ?
Hello
How can I write a packet to NDIS from my Application ?
I Have an NDIS Intermediate Driver
I can Block packets and send them to MyApp.exe , but now, I need send my own packet to driver. let me know how can I do it?
if you have a strategy for this issue , plz explain for me.
thanks a lot
Take a look at the WDK NDISPROT sample and how it implements the capability
to send a packet from an application.
Good luck,
Thomas F. Divine
http://www.rawether.net
From:
Sent: Thursday, January 28, 2010 5:52 AM
To: “Windows System Software Devs Interest List”
Subject: RE:[ntdev] How to write a packet to NDIS from my Application
> I Have an NDIS Intermediate Driver
> I can Block packets and send them to MyApp.exe , but now, I need send my
> own packet to driver. let me know how can I do it?
> if you have a strategy for this issue , plz explain for me.
>
> thanks a lot
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
wrote in message news:xxxxx@ntdev…
> I Have an NDIS Intermediate Driver
> I can Block packets and send them to MyApp.exe , but now, I need send my
> own packet to driver. let me know how can I do it?
> if you have a strategy for this issue , plz explain for me.
>
From Ndis IM, you simply NdisSend or NdisSendPackets.
–pa
Most common mistake is the forget that the send complete handler must handle
packets sent this way differently from pass-through packets.
I wrote a short note about this. OP should see:
“Common Error in Sending or Indicating Custom Packets from a NDIS Filter
Driver” at the URL:
http://ndis.com/ndis-general/default.htm
Thomas F. Divine
http://www.pcausa.com
From: “Pavel A.”
Sent: Thursday, January 28, 2010 11:28 AM
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Subject: Re:[ntdev] How to write a packet to NDIS from my Application
> wrote in message news:xxxxx@ntdev…
>> I Have an NDIS Intermediate Driver
>> I can Block packets and send them to MyApp.exe , but now, I need send my
>> own packet to driver. let me know how can I do it?
>> if you have a strategy for this issue , plz explain for me.
>>
>
>>From Ndis IM, you simply NdisSend or NdisSendPackets.
>
> --pa
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
Mr Thomas Divine
Thanks a lot !
WDK NDISPROT sample is a great sample ! I’ve never seen it !
I was confused for 4 months ! by this example, I learned that NDIS work how.
I am working on your Extended Passthu sample 2. It is great !
Thanks a lot Mr Thomas Divine.
best wishes.
Behrouz Mohammady.
A Little Researcher from …
Now, I will Indicate up a custom packet to upper edge , have you an idea about this issue ?