Home
last modified time | relevance | path

Searched refs:tunnel_hlen (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/ipv4/
Dip_tunnel.c484 int tunnel_hlen, __be32 dst, bool md) in tnl_update_pmtu() argument
490 tunnel_hlen = md ? tunnel_hlen : tunnel->hlen; in tnl_update_pmtu()
491 pkt_size = skb->len - tunnel_hlen - dev->hard_header_len; in tnl_update_pmtu()
495 - sizeof(struct iphdr) - tunnel_hlen; in tnl_update_pmtu()
540 u8 proto, int tunnel_hlen) in ip_md_tunnel_xmit() argument
594 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit()
Dip_gre.c480 int tunnel_hlen; in gre_fb_xmit() local
489 tunnel_hlen = gre_calc_hlen(key->tun_flags); in gre_fb_xmit()
500 gre_build_header(skb, tunnel_hlen, flags, proto, in gre_fb_xmit()
504 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in gre_fb_xmit()
521 int tunnel_hlen; in erspan_fb_xmit() local
540 tunnel_hlen = 8 + erspan_hdr_len(version); in erspan_fb_xmit()
581 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in erspan_fb_xmit()
/Linux-v5.10/include/net/
Dip_tunnels.h271 const u8 proto, int tunnel_hlen);