/[base]
ViewVC logotype

Revision 284066


Jump to revision: Previous Next
Author: ae
Date: Sat Jun 6 12:44:42 2015 UTC (9 years ago)
Changed paths: 20
Log Message:
MFC r274246:
  Overhaul if_gre(4).

  Split it 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;
  * correct interface accounting for outgoing datagramms (count only payload size);
  * implement generic support for using IPv6 as delivery header;
  * make implementation conform to the RFC 2784 and partially to RFC 2890;
  * add support for GRE checksums - calculate for outgoing datagramms and check
    for inconming datagramms;
  * add support for sending sequence number in GRE header;
  * remove support of cached routes. This fixes problem, when gre(4) doesn't
    work at system startup. But this also removes support for having tunnels with
    the same addresses for inner and outer header.
  * deprecate support for various GREXXX ioctls, that doesn't used in FreeBSD.
    Use our standard ioctls for tunnels.

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

  PR:		164475

MFC r274289 (by bz):
  gcc requires variables to be initialised in two places.  One of them
  is correctly  used only under the same conditional though.

  For module builds properly check if the kernel supports INET or INET6,
  as otherwise various mips kernels without IPv6 support would fail to build.

MFC r274964:
  Add ip_gre.h to ObsoleteFiles.inc.


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/ObsoleteFiles.inc modified , text changed
Directorystable/10/sbin/ifconfig/ifgre.c modified , text changed
Directorystable/10/share/man/man4/Makefile modified , text changed
Directorystable/10/share/man/man4/gre.4 modified , text changed
Directorystable/10/share/man/man4/me.4
(Copied from head/share/man/man4/me.4, r274246)
added
Directorystable/10/sys/conf/NOTES modified , text changed
Directorystable/10/sys/conf/files modified , text changed
Directorystable/10/sys/gnu/dts/ modified , props changed
Directorystable/10/sys/modules/Makefile modified , text changed
Directorystable/10/sys/modules/if_gif/Makefile modified , text changed
Directorystable/10/sys/modules/if_gre/Makefile modified , text changed
Directorystable/10/sys/modules/if_me/
(Copied from head/sys/modules/if_me, r274246)
added
Directorystable/10/sys/net/if_gre.c modified , text changed
Directorystable/10/sys/net/if_gre.h modified , text changed
Directorystable/10/sys/net/if_me.c
(Copied from head/sys/net/if_me.c, r274246)
added , text changed
Directorystable/10/sys/netinet/ip_gre.c modified , text changed
Directorystable/10/sys/netinet/ip_gre.h deleted
Directorystable/10/sys/netinet6/in6_proto.c modified , text changed
Directorystable/10/sys/netinet6/ip6_gre.c
(Copied from head/sys/netinet6/ip6_gre.c, r274246)
added , text changed

  ViewVC Help
Powered by ViewVC 1.1.27