[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openbsd] fwd: [claudio@cvs.openbsd.org: CVS: cvs.openbsd.org: src]
----- Forwarded message from Claudio Jeker <claudio@cvs.openbsd.org> -----
Date: Tue, 11 May 2010 03:36:07 -0600 (MDT)
From: Claudio Jeker <claudio@cvs.openbsd.org>
To: source-changes@cvs.openbsd.org
Subject: CVS: cvs.openbsd.org: src
CVSROOT: /cvs
Module name: src
Changes by: claudio@cvs.openbsd.org 2010/05/11 03:36:07
Modified files:
sys/net : if_gif.c
sys/netinet : in_gif.c in_gif.h in_proto.c ip_ether.c
ip_ether.h ip_ipip.c ip_ipsp.h
sys/netinet6 : in6_gif.c in6_gif.h
Log message:
Massiv cleanup of the gif(4) mess. Move encapsulation into gif_output()
where it is not necessary to guess protocols by looking at the first nibble.
in_gif_output() will encapsulate the packet but not send it. Because of
etherip support and the way the bridge works a minimal hack is needed in
gif_start() to ensure that the bridged packets are encapsulated as well.
This actually started with the idea to add MPLS support but that turned out
to be not as simple as in the gre(4) case.
Tested by myself (IP, IPv6, etherip, MPLS), sthen@ (IP, IPv6), naddy (IPv6)
OK sthen@
----- End forwarded message -----
; in progress...
--
To unsubscribe send an e-mail to openbsd+unsubscribe@uaoug.org.ua
For retrieval in messages archive http://www.uaoug.org.ua/archive