Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Develop virtual NDIS miniport driver based on NETVMINI

Reply
Thread Tools Display Modes

Develop virtual NDIS miniport driver based on NETVMINI

 
 
Yijun
Guest
Posts: n/a

 
      01-11-2011
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
 
Reply With Quote
 
 
 
 
Neo
Guest
Posts: n/a

 
      01-12-2011
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

On Jan 12, 1:18*am, Yijun <andy.y.hu...@gmail.com> wrote:
> 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


 
Reply With Quote
 
Burkhardt Braun
Guest
Posts: n/a

 
      01-12-2011
On 11 Jan., 21:18, Yijun <andy.y.hu...@gmail.com> wrote:
> 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



 
Reply With Quote
 
Yijun
Guest
Posts: n/a

 
      01-14-2011
On Jan 12, 7:16*am, Burkhardt Braun <burkhardt.br...@gmx.net> wrote:
> On 11 Jan., 21:18, Yijun <andy.y.hu...@gmail.com> wrote:
>
> > 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crash dump of storport virtual miniport Wayne Windows Vista Drivers 1 04-27-2010 11:31 AM
Re: Ndis protocol driver and windows 7 Pavel A. Windows Vista Drivers 0 12-17-2009 12:34 AM
NDIS miniport driver installer hangs on Windows XP cvvt Windows Vista Drivers 1 10-30-2009 07:01 AM
Slow Vista startup Jedi940 Windows Vista Performance 1 01-13-2008 08:50 PM
Vista auto-reboot after install OrangeGuy Windows Vista Installation 4 02-07-2007 02:05 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59