diff options
author | Andy Zhou <azhou@nicira.com> | 2014-09-16 17:31:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-19 15:57:15 -0400 |
commit | 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d (patch) | |
tree | 4855feb2fa46451d755bf841a3e463ba2a8053a0 /samples | |
parent | fd384412e199b62c3ddaabd18dce86d0e164c5b9 (diff) | |
download | talos-obmc-linux-6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d.tar.gz talos-obmc-linux-6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions