mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
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>
This commit is contained in:
parent
980c394c53
commit
c29a70d2ca
5 changed files with 97 additions and 43 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue