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()
369 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local400 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()401 mtu -= (dev->hard_header_len + t_hlen); in ip_tunnel_bind_dev()954 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local955 int max_mtu = 0xFFF8 - dev->hard_header_len - t_hlen; in __ip_tunnel_change_mtu()
837 int t_hlen; in __gre_tunnel_init() local845 t_hlen = tunnel->hlen + sizeof(struct iphdr); in __gre_tunnel_init()847 dev->needed_headroom = LL_MAX_HEADER + t_hlen + 4; in __gre_tunnel_init()848 dev->mtu = ETH_DATA_LEN - t_hlen - 4; in __gre_tunnel_init()