NDIS Intermediate MUX 1:N driver

Hello,
I have to develop a 1:2 MUX Intermediate driver. The sample in the DDK has N:1 driver code.

Could you please suggest me some links or basics that would help me to develop 1:N MUX intermediate driver. I am new to driver development.

Any guidance and help would be highly appreciated. Thanks!

With Regards,

Subashini

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.


approximately 9 months ago, one kind soul by the name of Bob forwarded this
*discontinued* MSFT sample to me. It is what you really want. please rename
the attachment from .dat to.zip. though i didnt need it diretly, i wnted to
archieve it.

thanks

ab

On Wed, Aug 19, 2009 at 7:57 PM, Subashini Venkatapathy ,Chennai <
xxxxx@hcl.in> wrote:

Hello,

I have to develop a 1:2 MUX Intermediate driver. The sample in the DDK has
N:1 driver code.

Could you please suggest me some links or basics that would help me to
develop 1:N MUX intermediate driver. I am new to driver development.

Any guidance and help would be highly appreciated. Thanks!

With Regards,

Subashini


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

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.


  • amitr0

A quick note; the sample I sent out was for NDIS 5.x. NDIS 6.x requires substantial changes to the code.

Bob

For an IM MUX 1:N driver all the magic is in the Notify Object(NO). The NO is what does all the undinds and re-binds when installing the MUX. In our NDIS 6.x MUX, the NO is the same size as the driver itself.

Larry C

Hi,

You have to start concentrating on the Notify object DLL. N:1 Mux driver
sample does not support 1:N.

Understand the sample code well and modify your Add/Remove Adapter functions
in the MS-Mux N:1 Sample Notify object DLL

You have to handle the bind /unbind adapter, OIDs, Tx/Rx and PNP in your
driver code based on the DLL modifications

Regards
Satheesh

On Wed, Aug 19, 2009 at 7:27 AM, Subashini Venkatapathy ,Chennai <
xxxxx@hcl.in> wrote:

Hello,

I have to develop a 1:2 MUX Intermediate driver. The sample in the DDK has
N:1 driver code.

Could you please suggest me some links or basics that would help me to
develop 1:N MUX intermediate driver. I am new to driver development.

Any guidance and help would be highly appreciated. Thanks!

With Regards,

Subashini


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

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.


Hi, Thank you so much for your responses.
Amitr0, I did not receive any attachment. Could you please send it again to xxxxx@gmail.commailto:xxxxx

I am going to use NDIS 5.1 on Windows XP. Thanks!

Subashini

________________________________
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of amitr0
Sent: Wednesday, August 19, 2009 8:22 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] NDIS Intermediate MUX 1:N driver

approximately 9 months ago, one kind soul by the name of Bob forwarded this discontinued MSFT sample to me. It is what you really want. please rename the attachment from .dat to.zip. though i didnt need it diretly, i wnted to archieve it.

thanks

ab

On Wed, Aug 19, 2009 at 7:57 PM, Subashini Venkatapathy ,Chennai > wrote:

Hello,

I have to develop a 1:2 MUX Intermediate driver. The sample in the DDK has N:1 driver code.

Could you please suggest me some links or basics that would help me to develop 1:N MUX intermediate driver. I am new to driver development.

Any guidance and help would be highly appreciated. Thanks!

With Regards,

Subashini


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

DISCLAIMER:

-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.

It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in

this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.

Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of

this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have

received this email in error please delete it and notify the sender immediately. Before opening any mail and

attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------



- amitr0
— 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</mailto:xxxxx>

here u go…please rename zi_ to zip

u are lucky, this sample is for 5.1

do take good look at NO, as many have pointed out, that is the trick. may i
dare ask what you are working on?

thanks

amitr0

On Thu, Aug 20, 2009 at 11:00 AM, Subashini Venkatapathy ,Chennai <
xxxxx@hcl.in> wrote:

Hi, Thank you so much for your responses.

Amitr0, I did not receive any attachment. Could you please send it again
to xxxxx@gmail.com

I am going to use NDIS 5.1 on Windows XP. Thanks!

Subashini


*From:* xxxxx@lists.osr.com [mailto:
xxxxx@lists.osr.com] *On Behalf Of *amitr0
*Sent:* Wednesday, August 19, 2009 8:22 PM
*To:* Windows System Software Devs Interest List
*Subject:* Re: [ntdev] NDIS Intermediate MUX 1:N driver

approximately 9 months ago, one kind soul by the name of Bob forwarded this
*discontinued* MSFT sample to me. It is what you really want. please rename
the attachment from .dat to.zip. though i didnt need it diretly, i wnted to
archieve it.

thanks

ab

On Wed, Aug 19, 2009 at 7:57 PM, Subashini Venkatapathy ,Chennai <
xxxxx@hcl.in> wrote:

Hello,

I have to develop a 1:2 MUX Intermediate driver. The sample in the DDK has
N:1 driver code.

Could you please suggest me some links or basics that would help me to
develop 1:N MUX intermediate driver. I am new to driver development.

Any guidance and help would be highly appreciated. Thanks!

With Regards,

Subashini


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

DISCLAIMER:


The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.

It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in

this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.

Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of

this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have

received this email in error please delete it and notify the sender immediately. Before opening any mail and

attachments please check them for viruses and defect.



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

  • amitr0

I believe the sample code that amitr0 has is the same I got from Microsoft and if it is then it is not what I would call a true MUX. The sample I got form MS sent packets on one adapter and received on the other adapter. IMHO a true MUX sends and receives on both adapters. If you want to send/receive on both adapters you will have to determine which IP addresses are assigned to which adapter and make sure the receive packets go up the correct stack since each adapter has its own stack and applications may get assigned to either adapter depending on how they open their connections and how you have the adpaters configured for use. Also, on the receive side you will need to have some sort of packet duplication detection for broadcast and multicast. There are similar items for send, again depending on what your goals are.

Good Luck,

Larry C

My bad. I revisited the sample. The MUX sample from MS will expose only one virtual adapter to the applications so my advice on knowing which stack to send up the receive packets is mute. My advice applies to N:N MUX.

You may have to make sure the destination MAC on receive packet is the virtual MAC since IIRC NDIS 5.x does check this. But you do have the duplication problem on receives if you accept receive packets on both adapters.

Larry C

i actually worked on an implementation of MUX that had most of the LBFO
login in the kernel, the NO was merely usd to create the teams.

It really is a lot f work, starting from removing tcp linkages, creating
VADs, linking tcp to it, arp table manipulations…those are just the tip
of the ice berg.

Multi vendor teaming is another cmplex tsask to get right, leaving apart the
LBFO logic…

On Thu, Aug 20, 2009 at 9:18 PM, wrote:

> My bad. I revisited the sample. The MUX sample from MS will expose only one
> virtual adapter to the applications so my advice on knowing which stack to
> send up the receive packets is mute. My advice applies to N:N MUX.
>
> You may have to make sure the destination MAC on receive packet is the
> virtual MAC since IIRC NDIS 5.x does check this. But you do have the
> duplication problem on receives if you accept receive packets on both
> adapters.
>
> Larry C
>
> —
> 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
>



- amitr0

We have a NDIS 5.x N:N Mux with a very small NO but the driver itself is more complex. Our NDIS 6.x 1:N Mux has a very huge NO, as big if not bigger than the driver, and the driver is a little bit more simple, but not much. We did not do a NDIS 5.x 1:N Mux.

Larry C

Hi amitr0

Could I also get a copy of the 1:n sample code?

Please email to:

xxxxx@webjoss.com

thanks