I am new to NDIS miniport driver development. I want to build a
minimal/dummy virtual NDIS miniport adapter that sits between protocol
driver and the real adapter. It sends/receives packets between
protocol driver and real adapter. How do I change the sample? Also the
sample doesn’t support SEND if only one instance is installed. Should
I change that? Any suggestions are greatly appreciated.
Yijun
If your adapter is real, i suggest you to go with ndiswdm instead.
and whats your target OS ?
netvmini is purely virtual and it needs two instances, modifying that
code will not help you much if you using for real apadter.
use ndiswdm and depending on your underlying hardware change the
NicPostWrite * NicPostRead calls and initialization of your NIC.
i think this will meet your minimal set of drivers.
Thanks,
Neo
Hello!
Not knowing your target OS, I assume a NDIS Intermediate driver is the
right choice
instead of a virtual adapter.
You can find detailed information on this topic under
http://www.wd-3.com/archive/ExtendingPassthru.htm
and the follwing articles
Good luck
Burkhardt Braun
Thx for all the response. The target OS is XP and above. And it is not
for real adapter. I want the user space application be able to read/
write ethernet packet from/to the miniport driver. looks like the
sample fits pretty well except it doesn't support SEND if only one
instance is installed. Should I change that?
Thx again.
Yijun