Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 13:04:00 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hackers@freebsd.org, paul@freefall.FreeBSD.org
Subject:   if_lnc and multicast
Message-ID:  <199512071204.NAA19486@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
Hi,
I am trying to set up multicast support in the if_lnc driver, which
is not present yet.

All the hooks seem to be there, the only missing bit of information is
how to compute the bit to be set in the multicast mask (ladrf[])
from within lnc_setladrf()

A quick hack could be to set the if to receive all multicasts when
sc->arpcom.ac_multicnt>0 (i.e. at least one address is in use).
However, this is undesirable for performance reasons; moreover, as
soon as the default multicast route is added (224.0.0.0), the
counter bumps to 1 and thus would effectively cause the interface
to be in promiscuous mode.

Do you have access to the docs of the LANCE chip, which should report
the hashing algorithm used in the chip ?

	Thanks
	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512071204.NAA19486>