Searched refs:max_headroom (Results 1 – 5 of 5) sorted by relevance
825 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit() local852 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); in ip_vs_tunnel_xmit()854 if (skb_headroom(skb) < max_headroom || skb_cloned(skb)) { in ip_vs_tunnel_xmit()856 skb_realloc_headroom(skb, max_headroom); in ip_vs_tunnel_xmit()919 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit_v6() local943 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6()945 if (skb_headroom(skb) < max_headroom || skb_cloned(skb)) { in ip_vs_tunnel_xmit_v6()947 skb_realloc_headroom(skb, max_headroom); in ip_vs_tunnel_xmit_v6()
625 unsigned int max_headroom; /* The extra header space needed */ in ip6gre_xmit2() local675 max_headroom += 8; in ip6gre_xmit2()698 max_headroom = LL_RESERVED_SPACE(tdev) + gre_hlen + dst->header_len; in ip6gre_xmit2()700 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6gre_xmit2()702 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6gre_xmit2()703 if (max_headroom > dev->needed_headroom) in ip6gre_xmit2()704 dev->needed_headroom = max_headroom; in ip6gre_xmit2()
956 unsigned int max_headroom = sizeof(struct ipv6hdr); in ip6_tnl_xmit2() local986 max_headroom += 8; in ip6_tnl_xmit2()1002 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit2()1004 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6_tnl_xmit2()1008 if (!(new_skb = skb_realloc_headroom(skb, max_headroom))) in ip6_tnl_xmit2()
694 unsigned int max_headroom; /* The extra header space needed */ in ipip6_tunnel_xmit() local825 max_headroom = LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr); in ipip6_tunnel_xmit()827 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ipip6_tunnel_xmit()829 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit()
500 unsigned int max_headroom; /* The extra header space needed */ in ip_tunnel_xmit() local649 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr) in ip_tunnel_xmit()651 if (max_headroom > dev->needed_headroom) { in ip_tunnel_xmit()652 dev->needed_headroom = max_headroom; in ip_tunnel_xmit()