diff options
author | Pravin B Shelar | 2015-08-27 08:46:50 +0200 |
---|---|---|
committer | David S. Miller | 2015-08-28 00:42:47 +0200 |
commit | c29a70d2cadfea443c027d23481f820530b70057 (patch) | |
tree | 2ebe4f224f810316d5b4f40131fe871bc7fb0ee6 /include/net/udp_tunnel.h | |
parent | geneve: Use skb mark and protocol to lookup route. (diff) | |
download | kernel-qcow2-linux-c29a70d2cadfea443c027d23481f820530b70057.tar.gz kernel-qcow2-linux-c29a70d2cadfea443c027d23481f820530b70057.tar.xz kernel-qcow2-linux-c29a70d2cadfea443c027d23481f820530b70057.zip |
tunnel: introduce udp_tun_rx_dst()
Introduce function udp_tun_rx_dst() to initialize tunnel dst on
receive path.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Reviewed-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp_tunnel.h')
-rw-r--r-- | include/net/udp_tunnel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/udp_tunnel.h b/include/net/udp_tunnel.h index c491c1221606..35041d0fc21e 100644 --- a/include/net/udp_tunnel.h +++ b/include/net/udp_tunnel.h @@ -93,6 +93,10 @@ int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, void udp_tunnel_sock_release(struct socket *sock); +struct metadata_dst *udp_tun_rx_dst(struct sk_buff *skb, unsigned short family, + __be16 flags, __be64 tunnel_id, + int md_size); + static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, bool udp_csum) { |