datapath: Account for "udp-tunnel: Add a few more UDP tunnel APIs"
authorJesse Gross <jesse@nicira.com>
Sat, 7 Feb 2015 03:25:09 +0000 (19:25 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 20 Feb 2015 23:34:25 +0000 (15:34 -0800)
commita42ec67e1bc2a1081a1b40c505044b555368edd7
tree8e6487c30067b6ee668783d51822826dc6796a9d
parent9ffdbf41192d8455e0031da5361fb7645909dd9e
datapath: Account for "udp-tunnel: Add a few more UDP tunnel APIs"

Upstream commit:
    udp-tunnel: Add a few more UDP tunnel APIs

    Added a few more UDP tunnel APIs that can be shared by UDP based
    tunnel protocol implementation. The main ones are highlighted below.

    setup_udp_tunnel_sock() configures UDP listener socket for
    receiving UDP encapsulated packets.

    udp_tunnel_xmit_skb() and upd_tunnel6_xmit_skb() transmit skb
    using UDP encapsulation.

    udp_tunnel_sock_release() closes the UDP tunnel listener socket.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: 6a93cc90 ("udp-tunnel: Add a few more UDP tunnel APIs")
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/include/linux/skbuff.h
datapath/linux/compat/include/net/udp_tunnel.h
datapath/linux/compat/udp_tunnel.c