Searched refs:tun_hlen (Results 1 – 7 of 7) sorted by relevance
465 gre_build_header(skb, tunnel->tun_hlen, in __gre_xmit()763 len = tunnel->tun_hlen; in ipgre_link_update()764 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()765 len = tunnel->tun_hlen - len; in ipgre_link_update()961 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in __gre_tunnel_init()964 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in __gre_tunnel_init()1300 tunnel->tun_hlen = 4; /* 4-byte GRE hdr. */ in erspan_tunnel_init()1302 tunnel->tun_hlen = 8; /* 8-byte GRE hdr. */ in erspan_tunnel_init()1305 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + in erspan_tunnel_init()
387 tunnel->tun_hlen = 0; in ipip_tunnel_init()388 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in ipip_tunnel_init()
492 t->hlen = t->encap_hlen + t->tun_hlen; in ip_tunnel_encap_setup()
765 int tun_hlen; in __gre6_xmit() local783 tun_hlen = gre_calc_hlen(flags); in __gre6_xmit()785 if (skb_cow_head(skb, dev->needed_headroom ?: tun_hlen + tunnel->encap_hlen)) in __gre6_xmit()788 gre_build_header(skb, tun_hlen, in __gre6_xmit()800 gre_build_header(skb, tunnel->tun_hlen, flags, in __gre6_xmit()1179 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()1180 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in ip6gre_calc_hlen()1862 tunnel->tun_hlen = 8; in ip6erspan_calc_hlen()1863 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + in ip6erspan_calc_hlen()
1188 mtu = dst_mtu(dst) - eth_hlen - psh_hlen - t->tun_hlen; in ip6_tnl_xmit()1197 if (skb->len - t->tun_hlen - eth_hlen > mtu && !skb_is_gso(skb)) { in ip6_tnl_xmit()1491 t->tun_hlen = 0; in ip6_tnl_link_config()1492 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_link_config()1810 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_encap_setup()1888 t->tun_hlen = 0; in ip6_tnl_dev_init_gen()1889 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_dev_init_gen()
63 int tun_hlen; /* Precalculated header length */ member
129 int tun_hlen; /* Precalculated header length */ member