Searched refs:t_hlen (Results 1 – 4 of 4) sorted by relevance
1103 int t_hlen) in ip6gre_tnl_link_config_route() argument1121 t_hlen; in ip6gre_tnl_link_config_route()1124 dev->mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()1140 int t_hlen; in ip6gre_calc_hlen() local1145 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()1146 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()1147 return t_hlen; in ip6gre_calc_hlen()1441 int t_hlen; in ip6gre_tunnel_init_common() local1461 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()1462 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6gre_tunnel_init_common()[all …]
834 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local933 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()968 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()1089 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local1092 dev->mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()1374 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local1381 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ipip6_tunnel_setup()1382 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()1384 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
1425 int t_hlen; in ip6_tnl_link_config() local1451 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()1466 t_hlen; in ip6_tnl_link_config()1468 dev->mtu = rt->dst.dev->mtu - t_hlen; in ip6_tnl_link_config()1828 int t_hlen; in ip6_tnl_dev_init_gen() local1846 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()1849 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6_tnl_dev_init_gen()1850 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
288 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local321 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()322 mtu -= (dev->hard_header_len + t_hlen); in ip_tunnel_bind_dev()336 int t_hlen; in ip_tunnel_create() local350 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()352 dev->max_mtu = IP_MAX_MTU - dev->hard_header_len - t_hlen; in ip_tunnel_create()972 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local973 int max_mtu = IP_MAX_MTU - dev->hard_header_len - t_hlen; in __ip_tunnel_change_mtu()