]> 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)
commit7ced7d861363d41f03eda977a5c3b2b7be02d97d
tree33b4dfd243b3164041732dbbb2366fd05e4274a7
parent9bc22848b642ebf880d031740e09364d2f76d331
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