• A
    udp-tunnel: Add a few more UDP tunnel APIs · 6a93cc90
    Andy Zhou 提交于
    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: NAndy Zhou <azhou@nicira.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    6a93cc90
udp_tunnel.c 2.6 KB