]> git.baikalelectronics.ru Git - kernel.git/commit
net: Cleanup encap items in ip_tunnels.h
authorTom Herbert <tom@herbertland.com>
Wed, 18 May 2016 16:06:13 +0000 (09:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2016 22:03:16 +0000 (18:03 -0400)
commit95d2330190fa533d465e0ef95ca00ac27536d9e3
tree33b4dfd243b3164041732dbbb2366fd05e4274a7
parentf591aab33212640b775f80802d8b8aff1cd2a78c
net: Cleanup encap items in ip_tunnels.h

Consolidate all the ip_tunnel_encap definitions in one spot in the
header file. Also, move ip_encap_hlen and ip_tunnel_encap from
ip_tunnel.c to ip_tunnels.h so they call be called without a dependency
on ip_tunnel module. Similarly, move iptun_encaps to ip_tunnel_core.c.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel.c
net/ipv4/ip_tunnel_core.c