summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gif
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2015-06-06 12:44:42 +0000
committerae <ae@FreeBSD.org>2015-06-06 12:44:42 +0000
commit920800a21fab4e6f4bbb3159edfbd5a9bca22370 (patch)
tree81b52ad7f1c19317f43f86ddbaa0d4b249b2185d /sys/modules/if_gif
parent0a68383238bfcad36a92d5dc886b5157d48d8d98 (diff)
downloadFreeBSD-src-920800a21fab4e6f4bbb3159edfbd5a9bca22370.zip
FreeBSD-src-920800a21fab4e6f4bbb3159edfbd5a9bca22370.tar.gz
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.
Diffstat (limited to 'sys/modules/if_gif')
-rw-r--r--sys/modules/if_gif/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 1cde56c..a501dd6 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -19,7 +19,7 @@ opt_inet6.h:
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
.else
-OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
+OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h; echo
.if empty(OPT_INET6)
MK_INET6_SUPPORT= no
.endif
OpenPOWER on IntegriCloud