Lines Matching refs:t_hlen
1130 int t_hlen) in ip6gre_tnl_link_config_route() argument
1148 t_hlen; in ip6gre_tnl_link_config_route()
1156 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()
1174 int t_hlen; in ip6gre_calc_hlen() local
1179 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()
1182 tunnel->dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1184 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1186 return t_hlen; in ip6gre_calc_hlen()
1480 int t_hlen; in ip6gre_tunnel_init_common() local
1500 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()
1501 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6gre_tunnel_init_common()
1859 int t_hlen; in ip6erspan_calc_hlen() local
1865 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6erspan_calc_hlen()
1866 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6erspan_calc_hlen()
1867 return t_hlen; in ip6erspan_calc_hlen()
1873 int t_hlen; in ip6erspan_tap_init() local
1894 t_hlen = ip6erspan_calc_hlen(tunnel); in ip6erspan_tap_init()
1895 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6erspan_tap_init()