Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dip_tunnel.c487 int tunnel_hlen, __be32 dst, bool md) in tnl_update_pmtu() argument
493 tunnel_hlen = md ? tunnel_hlen : tunnel->hlen; in tnl_update_pmtu()
494 pkt_size = skb->len - tunnel_hlen; in tnl_update_pmtu()
498 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu()
544 u8 proto, int tunnel_hlen) in ip_md_tunnel_xmit() argument
599 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit()
Dip_gre.c483 int tunnel_hlen; in gre_fb_xmit() local
492 tunnel_hlen = gre_calc_hlen(key->tun_flags); in gre_fb_xmit()
503 gre_build_header(skb, tunnel_hlen, flags, proto, in gre_fb_xmit()
507 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in gre_fb_xmit()
524 int tunnel_hlen; in erspan_fb_xmit() local
542 tunnel_hlen = 8 + erspan_hdr_len(version); in erspan_fb_xmit()
589 ip_md_tunnel_xmit(skb, dev, IPPROTO_GRE, tunnel_hlen); in erspan_fb_xmit()
/linux-6.1.9/include/net/
Dip_tunnels.h284 const u8 proto, int tunnel_hlen);