Help Required regarding setting multicast address list

Hello,
We are trying to set the multicast address list of our
ethernet adapter from our application using
DeviceIOcontrol().
Basically, we are trying to follow the application
MacAddr2 (from the pcusa site)and our OS is Windows
2000.

Please help us in this regard. Could you please refer
to any IOCTLxxx which could serve this purpose, that
is to set the multicast address list of the ethernet
card through our Windows application

Best Regards,
Sadiya


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

You CANNOT set any OID using IOCTL_NDIS_QUERY_GLOBAL_STATISTICS technique
illustrated in the MacAddr sample. I hope that was fairly clear in the
PCAUSA documentation.

To set the multicast list you need to have a NDIS protocol driver.

You may be able to use the Windows XP NDISUIO sample driver to do this if
you are careful. The NDISUIO driver is automatically installed in Windows
XP. However, you should be careful if you elect to use it because its API
and functionality may change in SP releases. (See topic "My application uses
NDISUIO from the Windows XP DDK. Why does it fail on Windows XP SP1?" at
http://www.ndis.com/faq/\>.).

No, there is no user mode IOCTL that can do this.

Good luck,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client/Filter
http: - http:

"carrots peanuts" wrote in message
news:xxxxx@ntdev...
>
> Hello,
> We are trying to set the multicast address list of our
> ethernet adapter from our application using
> DeviceIOcontrol().
> Basically, we are trying to follow the application
> MacAddr2 (from the pcusa site)and our OS is Windows
> 2000.
>
> Please help us in this regard. Could you please refer
> to any IOCTLxxx which could serve this purpose, that
> is to set the multicast address list of the ethernet
> card through our Windows application
>
> Best Regards,
> Sadiya
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
></http:></http:>

Sadiya,

I do not know if you had a compelling reason to not use WinSock, but the
following link discusses how you can join a multicast group from your
application with WinSock.

ftp://ftp.microsoft.com/bussys/WinSock/ms-ext/MULTCAST.TXT

Maybe this will help,
Shaun

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
Sent: Thursday, January 16, 2003 7:11 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Help Required regarding setting multicast address
list

You CANNOT set any OID using IOCTL_NDIS_QUERY_GLOBAL_STATISTICS technique
illustrated in the MacAddr sample. I hope that was fairly clear in the
PCAUSA documentation.

To set the multicast list you need to have a NDIS protocol driver.

You may be able to use the Windows XP NDISUIO sample driver to do this if
you are careful. The NDISUIO driver is automatically installed in Windows
XP. However, you should be careful if you elect to use it because its API
and functionality may change in SP releases. (See topic "My application
uses
NDISUIO from the Windows XP DDK. Why does it fail on Windows XP SP1?" at
http://www.ndis.com/faq/\>.).

No, there is no user mode IOCTL that can do this.

Good luck,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client/Filter
http: - http:

"carrots peanuts" wrote in message
news:xxxxx@ntdev...
>
> Hello,
> We are trying to set the multicast address list of our
> ethernet adapter from our application using
> DeviceIOcontrol().
> Basically, we are trying to follow the application
> MacAddr2 (from the pcusa site)and our OS is Windows
> 2000.
>
> Please help us in this regard. Could you please refer
> to any IOCTLxxx which could serve this purpose, that
> is to set the multicast address list of the ethernet
> card through our Windows application
>
> Best Regards,
> Sadiya
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
>

---
You are currently subscribed to ntdev as: xxxxx@tenpennies.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:></http:>

We do need to clarify terminology here.

There are two levels of multicast:

1.) Link-level multicasts, associated with the six-byte Ethernet link
address.
2.) IP Multicast, associated with four-byte IP address groups.

I think the original poster was interested in 1.) above.

FWIW,

Thos

“Shaun Ruffell” wrote in message news:xxxxx@ntdev…
>
> Sadiya,
>
> I do not know if you had a compelling reason to not use WinSock, but the
> following link discusses how you can join a multicast group from your
> application with WinSock.
>
> ftp://ftp.microsoft.com/bussys/WinSock/ms-ext/MULTCAST.TXT
>
> Maybe this will help,
> Shaun
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
> Sent: Thursday, January 16, 2003 7:11 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Help Required regarding setting multicast address
> list
>
>
> You CANNOT set any OID using IOCTL_NDIS_QUERY_GLOBAL_STATISTICS technique
> illustrated in the MacAddr sample. I hope that was fairly clear in the
> PCAUSA documentation.
>
> To set the multicast list you need to have a NDIS protocol driver.
>
> You may be able to use the Windows XP NDISUIO sample driver to do this if
> you are careful. The NDISUIO driver is automatically installed in Windows
> XP. However, you should be careful if you elect to use it because its API
> and functionality may change in SP releases. (See topic “My application
> uses
> NDISUIO from the Windows XP DDK. Why does it fail on Windows XP SP1?” at
> http://www.ndis.com/faq/&gt;.).
>
> No, there is no user mode IOCTL that can do this.
>
> Good luck,
> –
> Thomas F. Divine
>
> PCAUSA - Toolkits & Resources For Network Software Developers
> NDIS Protocol - NDIS Intermediate - TDI Client/Filter
> http: - http:
>
>
>
> “carrots peanuts” wrote in message
> news:xxxxx@ntdev…
> >
> > Hello,
> > We are trying to set the multicast address list of our
> > ethernet adapter from our application using
> > DeviceIOcontrol().
> > Basically, we are trying to follow the application
> > MacAddr2 (from the pcusa site)and our OS is Windows
> > 2000.
> >
> > Please help us in this regard. Could you please refer
> > to any IOCTLxxx which could serve this purpose, that
> > is to set the multicast address list of the ethernet
> > card through our Windows application
> >
> > Best Regards,
> > Sadiya
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@tenpennies.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
></http:></http:>

I am probably revealing my ignorance here (what else is new), but this does
bring up a question for me.

I wrote a driver for a network adapter with an embedded processor. When I
was testing the multicast address handling for the firmware / driver, I
used WinSock and joined various groups, and could see 6 byte MAC address
passed to my driver from NDIS that I could then pass off to the firmware
for the different multicast groups.

The customer’s tests passed so I didn’t think much of it, but I never
investigated how the MAC address were generated from the multicast IP
addresses.

So I guess I am asking, what is the functional difference between your
items 1 and 2? Wouldn’t any IP Multicast group also need a link-level
multicast address that is associated with any particular IP multicast
group?

Quizzically,
Shaun

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
Sent: Thursday, January 16, 2003 9:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Help Required regarding setting multicast address
list

We do need to clarify terminology here.

There are two levels of multicast:

1.) Link-level multicasts, associated with the six-byte Ethernet link
address.
2.) IP Multicast, associated with four-byte IP address groups.

I think the original poster was interested in 1.) above.

FWIW,

Thos

“Shaun Ruffell” wrote in message news:xxxxx@ntdev…
>
> Sadiya,
>
> I do not know if you had a compelling reason to not use WinSock, but the
> following link discusses how you can join a multicast group from your
> application with WinSock.
>
> ftp://ftp.microsoft.com/bussys/WinSock/ms-ext/MULTCAST.TXT
>
> Maybe this will help,
> Shaun
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
> Sent: Thursday, January 16, 2003 7:11 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Help Required regarding setting multicast address
> list
>
>
> You CANNOT set any OID using IOCTL_NDIS_QUERY_GLOBAL_STATISTICS technique
> illustrated in the MacAddr sample. I hope that was fairly clear in the
> PCAUSA documentation.
>
> To set the multicast list you need to have a NDIS protocol driver.
>
> You may be able to use the Windows XP NDISUIO sample driver to do this if
> you are careful. The NDISUIO driver is automatically installed in Windows
> XP. However, you should be careful if you elect to use it because its API
> and functionality may change in SP releases. (See topic “My application
> uses
> NDISUIO from the Windows XP DDK. Why does it fail on Windows XP SP1?” at
> http://www.ndis.com/faq/&gt;.).
>
> No, there is no user mode IOCTL that can do this.
>
> Good luck,
> –
> Thomas F. Divine
>
> PCAUSA - Toolkits & Resources For Network Software Developers
> NDIS Protocol - NDIS Intermediate - TDI Client/Filter
> http: - http:
>
>
>
> “carrots peanuts” wrote in message
> news:xxxxx@ntdev…
> >
> > Hello,
> > We are trying to set the multicast address list of our
> > ethernet adapter from our application using
> > DeviceIOcontrol().
> > Basically, we are trying to follow the application
> > MacAddr2 (from the pcusa site)and our OS is Windows
> > 2000.
> >
> > Please help us in this regard. Could you please refer
> > to any IOCTLxxx which could serve this purpose, that
> > is to set the multicast address list of the ethernet
> > card through our Windows application
> >
> > Best Regards,
> > Sadiya
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@tenpennies.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>


You are currently subscribed to ntdev as: xxxxx@tenpennies.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:></http:>

No, I think that you exposed my ignorance.

Sorry. I will look at the Winsock API to educate myself more before speaking
out.

Thos

“Shaun Ruffell” wrote in message news:xxxxx@ntdev…
>
> I am probably revealing my ignorance here (what else is new), but this
does
> bring up a question for me.
>
> I wrote a driver for a network adapter with an embedded processor. When I
> was testing the multicast address handling for the firmware / driver, I
> used WinSock and joined various groups, and could see 6 byte MAC address
> passed to my driver from NDIS that I could then pass off to the firmware
> for the different multicast groups.
>
> The customer’s tests passed so I didn’t think much of it, but I never
> investigated how the MAC address were generated from the multicast IP
> addresses.
>
> So I guess I am asking, what is the functional difference between your
> items 1 and 2? Wouldn’t any IP Multicast group also need a link-level
> multicast address that is associated with any particular IP multicast
> group?
>
> Quizzically,
> Shaun
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
> Sent: Thursday, January 16, 2003 9:46 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Help Required regarding setting multicast address
> list
>
>
> We do need to clarify terminology here.
>
> There are two levels of multicast:
>
> 1.) Link-level multicasts, associated with the six-byte Ethernet link
> address.
> 2.) IP Multicast, associated with four-byte IP address groups.
>
> I think the original poster was interested in 1.) above.
>
> FWIW,
>
> Thos
>
> “Shaun Ruffell” wrote in message
news:xxxxx@ntdev…
> >
> > Sadiya,
> >
> > I do not know if you had a compelling reason to not use WinSock, but the
> > following link discusses how you can join a multicast group from your
> > application with WinSock.
> >
> > ftp://ftp.microsoft.com/bussys/WinSock/ms-ext/MULTCAST.TXT
> >
> > Maybe this will help,
> > Shaun
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of Thomas F. Divine
> > Sent: Thursday, January 16, 2003 7:11 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Help Required regarding setting multicast address
> > list
> >
> >
> > You CANNOT set any OID using IOCTL_NDIS_QUERY_GLOBAL_STATISTICS
technique
> > illustrated in the MacAddr sample. I hope that was fairly clear in the
> > PCAUSA documentation.
> >
> > To set the multicast list you need to have a NDIS protocol driver.
> >
> > You may be able to use the Windows XP NDISUIO sample driver to do this
if
> > you are careful. The NDISUIO driver is automatically installed in
Windows
> > XP. However, you should be careful if you elect to use it because its
API
> > and functionality may change in SP releases. (See topic “My application
> > uses
> > NDISUIO from the Windows XP DDK. Why does it fail on Windows XP SP1?” at
> > http://www.ndis.com/faq/&gt;.).
> >
> > No, there is no user mode IOCTL that can do this.
> >
> > Good luck,
> > –
> > Thomas F. Divine
> >
> > PCAUSA - Toolkits & Resources For Network Software Developers
> > NDIS Protocol - NDIS Intermediate - TDI Client/Filter
> > http: - http:
> >
> >
> >
> > “carrots peanuts” wrote in message
> > news:xxxxx@ntdev…
> > >
> > > Hello,
> > > We are trying to set the multicast address list of our
> > > ethernet adapter from our application using
> > > DeviceIOcontrol().
> > > Basically, we are trying to follow the application
> > > MacAddr2 (from the pcusa site)and our OS is Windows
> > > 2000.
> > >
> > > Please help us in this regard. Could you please refer
> > > to any IOCTLxxx which could serve this purpose, that
> > > is to set the multicast address list of the ethernet
> > > card through our Windows application
> > >
> > > Best Regards,
> > > Sadiya
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > > http://mailplus.yahoo.com
> > >
> > >
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@tenpennies.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@tenpennies.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
></http:></http:>

> items 1 and 2? Wouldn’t any IP Multicast group also need a
link-level

multicast address that is associated with any particular IP
multicast
group?

Yes, the mapping is described in RFCs, and is not 1-to-1 - many IP
group addresses are mapped to 1 Ethernet group address.

Max