Hi,
I have written a virtual network adapter/Virtual miniort
driver(NDIS). I want to send the data i receive in my virtual adapter's
MiniportSend funcion across network using a network device.
Inorder to do that, the packet i have received in virtual miniport driver's
MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
intermediate drivers passes the packet to the miniport driver using NdisSend.
Since the driver i have written is not an intermediate driver,NdisSend
function can not be used to send the packet to a miniport driver. NdisSend
function requires the binding handle which a virtual miniport driver can not
have. Only NDIS intermediate driver can get a binding handle which it can use
in NdisSend.
Could you let me know how can i pass the packet to the MiniportSend
of miniport driver from my MiniportSend of virtual miniport driver?
Thanks & Regards,
Senthil

RE: Virtual network adapters by SubodhRadheshyamGupta

SubodhRadheshyamGupta
Sat Dec 04 03:41:01 CST 2004

Somebody correct me if i am wrong but i read somewhere that one can expose a
virtual adapter from an IM driver,so if an IM binds to all miniports and
protocols ,it can get all binding handes and can use them to send packets
directed for one adapter to be sent to another adapter ?could it be a
solution here ?

Regards
Subodh

"Senthil" wrote:

> Hi,
> I have written a virtual network adapter/Virtual miniort
> driver(NDIS). I want to send the data i receive in my virtual adapter's
> MiniportSend funcion across network using a network device.
> Inorder to do that, the packet i have received in virtual miniport driver's
> MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
> intermediate drivers passes the packet to the miniport driver using NdisSend.
> Since the driver i have written is not an intermediate driver,NdisSend
> function can not be used to send the packet to a miniport driver. NdisSend
> function requires the binding handle which a virtual miniport driver can not
> have. Only NDIS intermediate driver can get a binding handle which it can use
> in NdisSend.
> Could you let me know how can i pass the packet to the MiniportSend
> of miniport driver from my MiniportSend of virtual miniport driver?
> Thanks & Regards,
> Senthil

RE: Virtual network adapters by Senthil

Senthil
Sat Dec 04 07:23:02 CST 2004

Hi Gupta,
Thanks for the prompt reply. What i have developed is a
virtual network driver not an intermediate driver. so my driver will not have
any binding handle which i can use to send the data.
So my virtual network driver is like any other network driver. The
packets received by virtual network driver has to be sent to a network driver
so that it can reach the destination.
Thanks,
Senthil

"Subodh Radheshyam Gupta" wrote:

> Somebody correct me if i am wrong but i read somewhere that one can expose a
> virtual adapter from an IM driver,so if an IM binds to all miniports and
> protocols ,it can get all binding handes and can use them to send packets
> directed for one adapter to be sent to another adapter ?could it be a
> solution here ?
>
> Regards
> Subodh
>
> "Senthil" wrote:
>
> > Hi,
> > I have written a virtual network adapter/Virtual miniort
> > driver(NDIS). I want to send the data i receive in my virtual adapter's
> > MiniportSend funcion across network using a network device.
> > Inorder to do that, the packet i have received in virtual miniport driver's
> > MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
> > intermediate drivers passes the packet to the miniport driver using NdisSend.
> > Since the driver i have written is not an intermediate driver,NdisSend
> > function can not be used to send the packet to a miniport driver. NdisSend
> > function requires the binding handle which a virtual miniport driver can not
> > have. Only NDIS intermediate driver can get a binding handle which it can use
> > in NdisSend.
> > Could you let me know how can i pass the packet to the MiniportSend
> > of miniport driver from my MiniportSend of virtual miniport driver?
> > Thanks & Regards,
> > Senthil

Re: Virtual network adapters by Maxim

Maxim
Sun Dec 05 13:39:46 CST 2004

Such a driver must be a MUX-style intermediate.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Senthil" <Senthil@discussions.microsoft.com> wrote in message
news:2C025AC0-C114-4C72-9059-C536DC7EE566@microsoft.com...
> Hi,
> I have written a virtual network adapter/Virtual miniort
> driver(NDIS). I want to send the data i receive in my virtual adapter's
> MiniportSend funcion across network using a network device.
> Inorder to do that, the packet i have received in virtual miniport driver's
> MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
> intermediate drivers passes the packet to the miniport driver using NdisSend.
> Since the driver i have written is not an intermediate driver,NdisSend
> function can not be used to send the packet to a miniport driver. NdisSend
> function requires the binding handle which a virtual miniport driver can not
> have. Only NDIS intermediate driver can get a binding handle which it can use
> in NdisSend.
> Could you let me know how can i pass the packet to the MiniportSend
> of miniport driver from my MiniportSend of virtual miniport driver?
> Thanks & Regards,
> Senthil



Re: Virtual network adapters by Senthil

Senthil
Mon Dec 06 00:19:06 CST 2004

Hi Maxim,
My driver is like netvmini sample of DDK. I want to pass
packets to the destination using a network device.
Thanks
Senthil


"Maxim S. Shatskih" wrote:

> Such a driver must be a MUX-style intermediate.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Senthil" <Senthil@discussions.microsoft.com> wrote in message
> news:2C025AC0-C114-4C72-9059-C536DC7EE566@microsoft.com...
> > Hi,
> > I have written a virtual network adapter/Virtual miniort
> > driver(NDIS). I want to send the data i receive in my virtual adapter's
> > MiniportSend funcion across network using a network device.
> > Inorder to do that, the packet i have received in virtual miniport driver's
> > MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
> > intermediate drivers passes the packet to the miniport driver using NdisSend.
> > Since the driver i have written is not an intermediate driver,NdisSend
> > function can not be used to send the packet to a miniport driver. NdisSend
> > function requires the binding handle which a virtual miniport driver can not
> > have. Only NDIS intermediate driver can get a binding handle which it can use
> > in NdisSend.
> > Could you let me know how can i pass the packet to the MiniportSend
> > of miniport driver from my MiniportSend of virtual miniport driver?
> > Thanks & Regards,
> > Senthil
>
>
>

Re: Virtual network adapters by Maxim

Maxim
Mon Dec 06 04:54:35 CST 2004

This means you need a MUX driver.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Senthil" <Senthil@discussions.microsoft.com> wrote in message
news:45F3E096-7590-479C-8818-2907FABC3951@microsoft.com...
> Hi Maxim,
> My driver is like netvmini sample of DDK. I want to pass
> packets to the destination using a network device.
> Thanks
> Senthil
>
>
> "Maxim S. Shatskih" wrote:
>
> > Such a driver must be a MUX-style intermediate.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> > http://www.storagecraft.com
> >
> > "Senthil" <Senthil@discussions.microsoft.com> wrote in message
> > news:2C025AC0-C114-4C72-9059-C536DC7EE566@microsoft.com...
> > > Hi,
> > > I have written a virtual network adapter/Virtual miniort
> > > driver(NDIS). I want to send the data i receive in my virtual adapter's
> > > MiniportSend funcion across network using a network device.
> > > Inorder to do that, the packet i have received in virtual miniport
driver's
> > > MiniportSend has to be passed to MiniportSend of miniport driver. NDIS
> > > intermediate drivers passes the packet to the miniport driver using
NdisSend.
> > > Since the driver i have written is not an intermediate driver,NdisSend
> > > function can not be used to send the packet to a miniport driver.
NdisSend
> > > function requires the binding handle which a virtual miniport driver can
not
> > > have. Only NDIS intermediate driver can get a binding handle which it can
use
> > > in NdisSend.
> > > Could you let me know how can i pass the packet to the MiniportSend
> > > of miniport driver from my MiniportSend of virtual miniport driver?
> > > Thanks & Regards,
> > > Senthil
> >
> >
> >