summaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorTom Herbert2014-07-02 06:32:49 +0200
committerDavid S. Miller2014-07-08 06:14:21 +0200
commit535fb8d006bc6a96d59558181a9a6f267be382c5 (patch)
tree044ec047776bdbc14bdcf93ae2b9068d349bdeef /include/net/vxlan.h
parentudp: Add function to make source port for UDP tunnels (diff)
downloadkernel-qcow2-linux-535fb8d006bc6a96d59558181a9a6f267be382c5.tar.gz
kernel-qcow2-linux-535fb8d006bc6a96d59558181a9a6f267be382c5.tar.xz
kernel-qcow2-linux-535fb8d006bc6a96d59558181a9a6f267be382c5.zip
vxlan: Call udp_flow_src_port
In vxlan and OVS vport-vxlan call common function to get source port for a UDP tunnel. Removed vxlan_src_port since the functionality is now in udp_flow_src_port. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 12196ce661d9..d5f59f3fc35d 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -45,8 +45,6 @@ int vxlan_xmit_skb(struct vxlan_sock *vs,
__be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df,
__be16 src_port, __be16 dst_port, __be32 vni, bool xnet);
-__be16 vxlan_src_port(__u16 port_min, __u16 port_max, struct sk_buff *skb);
-
/* IP header + UDP + VXLAN + Ethernet header */
#define VXLAN_HEADROOM (20 + 8 + 8 + 14)
/* IPv6 header + UDP + VXLAN + Ethernet header */