Discussion:
Develop virtual NDIS miniport driver based on NETVMINI
(too old to reply)
Yijun
2011-01-11 20:18:07 UTC
Permalink
Hi,

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
Neo
2011-01-12 09:00:34 UTC
Permalink
Hi,

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
Post by Yijun
Hi,
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
Burkhardt Braun
2011-01-12 13:16:08 UTC
Permalink
Post by Yijun
Hi,
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
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
Yijun
2011-01-14 15:23:17 UTC
Permalink
Post by Burkhardt Braun
Post by Yijun
Hi,
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
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 underhttp://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

Loading...