2 * Copyright (c) 2007-2012 Nicira, Inc.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 #include <linux/version.h>
23 #include <net/net_namespace.h>
24 #include <net/netns/generic.h>
29 u16 ovs_tnl_get_src_port(struct sk_buff *skb);
31 int ovs_tnl_send(struct vport *vport, struct sk_buff *skb,
32 u8 ipproto, int tunnel_hlen,
33 void (*build_header)(const struct vport *,
37 void ovs_tnl_rcv(struct vport *vport, struct sk_buff *skb,
38 struct ovs_key_ipv4_tunnel *tun_key);