Lines Matching refs:t_hlen
1152 int t_hlen) in ip6gre_tnl_link_config_route() argument
1170 t_hlen; in ip6gre_tnl_link_config_route()
1178 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()
1196 int t_hlen; in ip6gre_calc_hlen() local
1201 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()
1204 tunnel->dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1206 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1208 return t_hlen; in ip6gre_calc_hlen()
1500 int t_hlen; in ip6gre_tunnel_init_common() local
1520 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()
1521 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6gre_tunnel_init_common()
1879 int t_hlen; in ip6erspan_calc_hlen() local
1885 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6erspan_calc_hlen()
1886 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6erspan_calc_hlen()
1887 return t_hlen; in ip6erspan_calc_hlen()
1893 int t_hlen; in ip6erspan_tap_init() local
1914 t_hlen = ip6erspan_calc_hlen(tunnel); in ip6erspan_tap_init()
1915 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6erspan_tap_init()