Broadcast/multicast packet notification through pfhooks [PSARC/2007/666 FastTrack timeout 12/03/2007]
James Carlson
james.d.carlson at sun.com
Tue Nov 27 04:34:59 PST 2007
Darren Reed writes:
> These two bit values indicate if the packet is multicast or if it
> is broadcast, however, using DLPI in Solaris today, it is not possible to
> know if a packet that reaches IP is multicast or broadcast by looking
> at the dl_group_address field and nor is there any other mechanism
> available. In light of this, setting both flags together is supported
> as an indication that the packet might be one or the other:
>
> #define HPE_MBCAST 0x03
Do the clients using this interface need to know the difference
between multicast and broadcast in order to function correctly?
If so, then why not have this interface resolve the amibiguity? That
can be done by checking the destination address (dl_dest_addr_*) when
you see that dl_group_address is set.
--
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
More information about the opensolaris-arc
mailing list