Skip to content

Commit ed1efb2

Browse files
committed
ipv6: Add support for IPsec virtual tunnel interfaces
This patch adds IPv6 support for IPsec virtual tunnel interfaces (vti). IPsec virtual tunnel interfaces provide a routable interface for IPsec tunnel endpoints. Signed-off-by: Steffen Klassert <[email protected]>
1 parent 212e560 commit ed1efb2

File tree

3 files changed

+1068
-0
lines changed

3 files changed

+1068
-0
lines changed

net/ipv6/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ config INET6_XFRM_MODE_ROUTEOPTIMIZATION
153153
---help---
154154
Support for MIPv6 route optimization mode.
155155

156+
config IPV6_VTI
157+
tristate "Virtual (secure) IPv6: tunneling"
158+
select IPV6_TUNNEL
159+
depends on INET6_XFRM_MODE_TUNNEL
160+
---help---
161+
Tunneling means encapsulating data of one protocol type within
162+
another protocol and sending it over a channel that understands the
163+
encapsulating protocol. This can be used with xfrm mode tunnel to give
164+
the notion of a secure tunnel for IPSEC and then use routing protocol
165+
on top.
166+
156167
config IPV6_SIT
157168
tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
158169
select INET_TUNNEL

net/ipv6/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ obj-$(CONFIG_INET6_XFRM_MODE_BEET) += xfrm6_mode_beet.o
3636
obj-$(CONFIG_IPV6_MIP6) += mip6.o
3737
obj-$(CONFIG_NETFILTER) += netfilter/
3838

39+
obj-$(CONFIG_IPV6_VTI) += ip6_vti.o
3940
obj-$(CONFIG_IPV6_SIT) += sit.o
4041
obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
4142
obj-$(CONFIG_IPV6_GRE) += ip6_gre.o

0 commit comments

Comments
 (0)