Subject: Re: kernel-internal interface changes?
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 03/23/2005 21:09:30
--CD/aTaZybdUisKIc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 23, 2005 at 02:45:20PM -0500, der Mouse wrote:
> I'm working on something that wants a tap driver (ie, a
> pseudo-Ethernet) in 2.0.
>=20
> I have a tap driver (which I wrote) for 1.6.x.  I also note there's a
> tap driver in -current.  My options, as I see them, are:
>=20
> - Write a new tap driver for 2.0, based on one or both of the others
>   and possibly some stuff existing in 2.0.
>=20
> - Roll forward the 1.6.x driver.
>=20
> - Backport the -current driver.
>=20
> The reason I'm writing is to get opinions from people in the know about
> the feasibility of the latter two options.  How much have the relevant
> kernel internal interfaces changed between 1.6.x and 2.0, and between
> 2.0 and -current?  How much documentation is there in eithe case?  In
> short, which would more likely be the easier port, and why?
>=20
> Any thoughts?  For that matter, does anyone know of an already-existing
> tap driver for 2.0 I could just pick up and use?

In pkgsrc, net/netbsd-tap.  It is the exact same as the one in -current
and -3, with the relevant hooks to make it work on 2.0.

I didn't find it worth the effort to make it work on 1.6, though.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--CD/aTaZybdUisKIc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQkHM+tgoQloHrPnoAQIZKAgAmpRO9vv/Ubp/x9xNHE4OJEVegw5AO2fy
P3DbWOueHu57Lz9LmEQ7mfeGj96uBCFk9rstJbnGDjAYMhxhz0MkjUP94dzM/wId
jamEv1qYJ+ScyYRe9AxvRfKNo0JO8Bk7OW4x9qKtdjDiclap1ur8D5Adh4ebqtaM
xlvomb9eurfn9D2iq1vYYXcBZ56+QNDq6uL2DR16n9F4aZxJ64WoMV0aTRbh1ISj
2FGmVBEzSFhnyE/Ci7GYaVJkZ2r5bHZTuYPOvSzmvpSSj863q5p3VzmZCfefiXMc
vxK5qFiIVQHOjZ2I5C4x+6TQGPB504RBVdjJfvdAaofVOHnxWtRZKw==
=cwPS
-----END PGP SIGNATURE-----

--CD/aTaZybdUisKIc--