Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 12:35:33 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>,  freebsd-current <freebsd-current@FreeBSD.org>
Subject:   [RFC][RFT] overhaul if_gre(4)
Message-ID:  <5450B4E5.7020804@yandex.ru>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--MvE3iFSrEc0MFFqSF9PRoA2rfJdNneOfc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi All,

I prepared the patch for review
  https://reviews.freebsd.org/D1023

Split if_gre(4) into two modules, if_gre(4) for GRE encapsulation
and if_me(4) for minimal encapsulation within IP.

gre(4) changes:

* convert to if_transmit;
* rework locking: protect access to softc with rmlock, protect from
concurrent ioctls with sx lock;
* make implementation conform to the RFC 2784 and partially to RFC 2890;
* correct interface accounting for outgoing datagramms (count only
payload size);
* implement generic support for using IPv6 as delivery header;
* add support for GRE checksums - calculate for outgoing datagramms and
check for inconming datagramms;
* add support for sending sequence number in GRE header;
* remove caching routes support. This fixes problem, when gre(4) doesn't
work at system startup. But this also removes ability to have tunnels
with the same addresses for inner and outer header.
* deprecate support for various GREXXX ioctls, use our standard ioctls
for tunnels.

me(4):
* use the same locking model as gre(4);
* use if_transmit;
* implementation conform to RFC 2004;

--=20
WBR, Andrey V. Elsukov


--MvE3iFSrEc0MFFqSF9PRoA2rfJdNneOfc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUULTpAAoJEAHF6gQQyKF6+PUIAJgZbHITiPZgBU1pgS7CxcQ7
qaaUc3a8/ClH5pbSH1fdgiboF00ONplUP+F3XElAJn8l9GcfzNEcnBFVffdATaYK
NycbCAjYeA9k26pLNiGywianuGI4uOFAOeTXaZhbCIBaaRlIffUCntS1oc/bMZ3w
JV/gBHwbGizawOnWkN/MvGvdw8StJmywZyJ8F617xgZ1mzIP6nd2SCfBPRpX2s/w
LTAqf3MnIR7bpc4+4qKoVPVmz+SdFDiAFgaxbZ7XeAfoxpJXQzZCYezrw6HzqF8t
D7SwSnDJmFGOcMPALNbwK/anyZmwYI1A9V73pkYdCEHBftS1N+aaOh4LMiL4gs4=
=5vQs
-----END PGP SIGNATURE-----

--MvE3iFSrEc0MFFqSF9PRoA2rfJdNneOfc--



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