Searched refs:t_hlen (Results 1 – 4 of 4) sorted by relevance
1136 int t_hlen) in ip6gre_tnl_link_config_route() argument1154 t_hlen; in ip6gre_tnl_link_config_route()1162 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()1180 int t_hlen; in ip6gre_calc_hlen() local1185 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()1188 tunnel->dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()1190 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()1192 return t_hlen; in ip6gre_calc_hlen()1484 int t_hlen; in ip6gre_tunnel_init_common() local1504 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()[all …]
1466 int t_hlen; in ip6_tnl_link_config() local1493 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()1512 tdev->needed_headroom + t_hlen; in ip6_tnl_link_config()1515 mtu = mtu - t_hlen; in ip6_tnl_link_config()1736 int t_hlen; in ip6_tnl_change_mtu() local1738 t_hlen = tnl->hlen + sizeof(struct ipv6hdr); in ip6_tnl_change_mtu()1747 if (new_mtu > IP6_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()1750 if (new_mtu > IP_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()1875 int t_hlen; in ip6_tnl_dev_init_gen() local1893 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()[all …]
871 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local970 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()1005 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()1099 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local1129 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()1135 dev->needed_headroom = t_hlen + hlen; in ipip6_tunnel_bind_dev()1423 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local1431 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()1433 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
286 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local319 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()320 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev()334 int t_hlen; in ip_tunnel_create() local348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()350 dev->max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_create()1027 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local1028 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()