Searched refs:tunnel_hlen (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | ip_tunnel.c | 514 int tunnel_hlen, __be32 dst, bool md) in tnl_update_pmtu() argument 520 tunnel_hlen = md ? tunnel_hlen : tunnel->hlen; in tnl_update_pmtu() 521 pkt_size = skb->len - tunnel_hlen; in tnl_update_pmtu() 525 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu() 585 u8 proto, int tunnel_hlen) in ip_md_tunnel_xmit() argument 617 if (!tunnel_hlen) in ip_md_tunnel_xmit() 618 tunnel_hlen = ip_encap_hlen(&tun_info->encap); in ip_md_tunnel_xmit() 644 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit()
|
/linux/include/net/ |
H A D | ip_tunnels.h | 387 const u8 proto, int tunnel_hlen);
|