Lines Matching refs:hlen
284 int hlen = LL_MAX_HEADER; in ip_tunnel_bind_dev() local
286 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev()
315 hlen = tdev->hard_header_len + tdev->needed_headroom; in ip_tunnel_bind_dev()
319 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()
348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
464 int hlen; in ip_tunnel_encap_setup() local
468 hlen = ip_encap_hlen(ipencap); in ip_tunnel_encap_setup()
469 if (hlen < 0) in ip_tunnel_encap_setup()
470 return hlen; in ip_tunnel_encap_setup()
477 t->encap_hlen = hlen; in ip_tunnel_encap_setup()
478 t->hlen = t->encap_hlen + t->tun_hlen; in ip_tunnel_encap_setup()
493 tunnel_hlen = md ? tunnel_hlen : tunnel->hlen; in tnl_update_pmtu()
979 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu()
1160 unsigned int max = IP_MAX_MTU - (nt->hlen + sizeof(struct iphdr)); in ip_tunnel_newlink()