aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/ip_tunnels.h
diff options
context:
space:
mode:
authorwenxu <wenxu@ucloud.cn>2019-01-22 18:39:50 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-26 09:43:03 -0800
commitc8b34e680a090ab8dc42f8331020e31052b49a70 (patch)
tree5db6a530d23ffb492611e47f35c112f81ef14c49 /include/net/ip_tunnels.h
parentip_tunnel: Add ip tunnel dst_cache in ip_md_tunnel_xmit (diff)
downloadwireguard-linux-c8b34e680a090ab8dc42f8331020e31052b49a70.tar.xz
wireguard-linux-c8b34e680a090ab8dc42f8331020e31052b49a70.zip
ip_tunnel: Add tnl_update_pmtu in ip_md_tunnel_xmit
Add tnl_update_pmtu in ip_md_tunnel_xmit to dynamic modify the pmtu which packet send through collect_metadata mode ip tunnel Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_tunnels.h')
-rw-r--r--include/net/ip_tunnels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index 34f019650941..f069f64ebf29 100644
--- a/include/net/ip_tunnels.h
+++ b/include/net/ip_tunnels.h
@@ -267,7 +267,7 @@ void ip_tunnel_delete_nets(struct list_head *list_net, unsigned int id,
void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
const struct iphdr *tnl_params, const u8 protocol);
void ip_md_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
- const u8 proto);
+ const u8 proto, int tunnel_hlen);
int ip_tunnel_ioctl(struct net_device *dev, struct ip_tunnel_parm *p, int cmd);
int __ip_tunnel_change_mtu(struct net_device *dev, int new_mtu, bool strict);
int ip_tunnel_change_mtu(struct net_device *dev, int new_mtu);