Searched refs:t_hlen (Results 1 – 4 of 4) sorted by relevance
1119 int t_hlen) in ip6gre_tnl_link_config_common() 1138 headroom = rt->dst.dev->hard_header_len + t_hlen; in ip6gre_tnl_link_config_route() 1143 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route() 1161 int t_hlen; in ip6gre_tnl_link_config_route() 1166 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen() 1169 tunnel->dev->hard_header_len = t_hlen; in ip6gre_calc_hlen() 1171 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen() 1173 return t_hlen; in ip6gre_calc_hlen() 1471 int t_hlen; in ip6gre_tnl_init_features() 1486 t_hlen in ip6gre_tunnel_init_common() 1126 ip6gre_tnl_link_config_route(struct ip6_tnl * t,int set_mtu,int t_hlen) ip6gre_tnl_link_config_route() argument 1168 int t_hlen; ip6gre_calc_hlen() local 1478 int t_hlen; ip6gre_tunnel_init_common() local 1836 int t_hlen; ip6erspan_calc_hlen() local 1850 int t_hlen; ip6erspan_tap_init() local [all...]
1472 int t_hlen; in ip6_tnl_link_config() local1499 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()1520 headroom += t_hlen; in ip6_tnl_link_config()1524 mtu = mtu - t_hlen; in ip6_tnl_link_config()1756 int t_hlen; in ip6_tnl_change_mtu() local1758 t_hlen = tnl->hlen + sizeof(struct ipv6hdr); in ip6_tnl_change_mtu()1767 if (new_mtu > IP6_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()1770 if (new_mtu > IP_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()1941 int t_hlen; in ip6_tnl_dev_init_gen() local1955 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()[all …]
916 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local967 mtu = dst4_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()1004 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()1098 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local1128 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()1134 dev->needed_headroom = ip_tunnel_limit_headroom(t_hlen + hlen); in ipip6_tunnel_bind_dev()1422 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local1430 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()1432 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
287 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local320 dev->needed_headroom = ip_tunnel_limit_headroom(t_hlen + hlen); in ip_tunnel_bind_dev()321 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev()335 int t_hlen; in ip_tunnel_create() local349 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()351 dev->max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_create()1060 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_change_mtu() local1061 int max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_change_mtu()