Subject: Re: rfc: socketing it to gre
To: None <tech-net@netbsd.org>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: tech-net
Date: 09/14/2007 12:14:11
--O5XBE6gyVG5Rl6Rj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 12, 2007 at 11:08:17PM -0500, David Young wrote:
> I have made a patch against -current that makes gre(4) exclusively use
> sockets for packet (dis)encapsulation and (de)muxing.  In the new GRE
> world order, you will not see gre(4) produce its own IP header, nor you
> will find its hooks in the IP stack: sys/netinet/ip_gre.[ch] are no more!
> The patch is at <ftp://cuw.ojctech.com/cuw/dyoung-9cb5d230/gre.patch>.
>=20
> This is a work in progress.  Right now, the only encapsulations I
> support are GRE in UDP in IPv4, and GRE in IPv4.  In the near future I
> will support IPv6, and UDP in IPv6.  In principle, you could use some
> OSI/AppleTalk datagram protocol for the encapsulation, but that's not
> supported quite yet.

How much of a performance hit do we take for this?

Would this permit us to do netgraph-like mix&match in the future?

Take care,

Bill

--O5XBE6gyVG5Rl6Rj
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFG6t2DWz+3JHUci9cRAjTsAJ9vocipa+/1CSEtvJqiXMucYs7tIQCdFoaB
rXZaCSaHkVrl7RYxVUfsTqo=
=T3Dz
-----END PGP SIGNATURE-----

--O5XBE6gyVG5Rl6Rj--