Subject: Re: Dynamic registry of ehternet frame types
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 11/12/2003 10:08:51
--qtZFehHsKgwS5rPz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Nov 12, 2003 at 12:04:54PM +0100, Manuel Bouyer wrote:
> On Wed, Nov 12, 2003 at 08:49:33AM +0100, Martin Husemann wrote:
> > Currently there is a big switch statement in ether_input that dispatches
> > the frame type. Obviously the case labels need to be constant ;-)
[snip]
> > This has the additional advantage that it enables LKMs to register and =
handler
> > additional ethernet frame types. It would not affect the efficiency of=
=20
> > hardwired frame types.
> >=20
> > Do you think this is worth the effort?
>=20
> I think it's worth the effort, independantly from the problem you're tryi=
ng
> to solve. It would be nice to be able to support LKM for network protocol
> stacks.
I agree. Network stack LKMs would be very nice. I understand FreeBSD has=20
them, so we should be able to find some prior art for this.
Take care,
Bill
--qtZFehHsKgwS5rPz
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/snczWz+3JHUci9cRArOkAJ93d5Gp0MKn/NAwYn0iPLrN0S2uUACfbFwM
AQ8a2QSBPrlGDfDSCItb9zo=
=T6GJ
-----END PGP SIGNATURE-----
--qtZFehHsKgwS5rPz--