Searched refs:t_hlen (Results 1 – 3 of 3) sorted by relevance
825 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local922 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()957 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()1072 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local1075 dev->mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()1323 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_change_mtu() local1325 if (new_mtu < IPV6_MIN_MTU || new_mtu > 0xFFF8 - t_hlen) in ipip6_tunnel_change_mtu()1359 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local1365 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ipip6_tunnel_setup()1366 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()
477 int t_hlen; in __gre_tunnel_init() local485 t_hlen = tunnel->hlen + sizeof(struct iphdr); in __gre_tunnel_init()487 dev->needed_headroom = LL_MAX_HEADER + t_hlen + 4; in __gre_tunnel_init()488 dev->mtu = ETH_DATA_LEN - t_hlen - 4; in __gre_tunnel_init()
362 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local393 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()394 mtu -= (dev->hard_header_len + t_hlen); in ip_tunnel_bind_dev()942 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_change_mtu() local945 new_mtu > 0xFFF8 - dev->hard_header_len - t_hlen) in ip_tunnel_change_mtu()