On Thu, Jun 12, 2008 at 1:50 PM, Erik Nordmark <[EMAIL PROTECTED]> wrote: > Tuma Wang wrote: >> Aha, this is interesting. So, in other systems like Linux and BSD, >> what's the situation? How do SIOCADDMULTI and IP_ADD_MEMBERSHIP (and >> the other two socket options) work together? > > In BSD one could (my knowledge is old ;-) issue SIOCADDMULTI to an Ethernet > device driver. It might be that when IP handles a IP_ADD_MEMBERSHIP IP would > send a SIOCADDMULTI ioctl to the interface - I don't remember the details. > > Thus at least part of SIOCADDMULTI is analogous to the DLPI add multi > capability in Solaris.
So it's similar to the DL_ENABMULTI_REQ primitive? I'm not very certain of the semantics of this primitive. It's for link level multicast? What's the relation between it and IP_ADD_MEMBERSHIP? If I want to do IP multicast, I guess IP_ADD_MEMBERSHIP alone is enough? Thanks. -- Tuma _______________________________________________ networking-discuss mailing list [email protected]
