udp: Add udp_sock_create for UDP tunnels to open listener socket

Added udp_tunnel.c which can contain some common functions for UDP
tunnels. The first function in this is udp_sock_create which is used
to open the listener port for a UDP tunnel.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tom Herbert
2014-07-13 19:49:37 -07:00
committed by David S. Miller
parent 39b1c29b7b
commit 8024e02879
4 changed files with 137 additions and 0 deletions

View File

@@ -307,6 +307,10 @@ config NET_IPVTI
the notion of a secure tunnel for IPSEC and then use routing protocol
on top.
config NET_UDP_TUNNEL
tristate
default n
config INET_AH
tristate "IP: AH transformation"
select XFRM_ALGO