linux: consolidate os_ip4_tunnel and os_ip6_tunnel