Searched refs:max_headroom (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_xmit.c882 unsigned int max_headroom, __u8 *next_protocol, ip_vs_prepare_tunneled_skb()
894 if (skb_headroom(skb) < max_headroom || skb_cloned(skb)) { ip_vs_prepare_tunneled_skb()
895 new_skb = skb_realloc_headroom(skb, max_headroom); ip_vs_prepare_tunneled_skb()
988 unsigned int max_headroom; /* The extra header space needed */ ip_vs_tunnel_xmit() local
1012 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); ip_vs_tunnel_xmit()
1016 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, ip_vs_tunnel_xmit()
1082 unsigned int max_headroom; /* The extra header space needed */ ip_vs_tunnel_xmit_v6() local
1107 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); ip_vs_tunnel_xmit_v6()
1109 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, ip_vs_tunnel_xmit_v6()
881 ip_vs_prepare_tunneled_skb(struct sk_buff *skb, int skb_af, unsigned int max_headroom, __u8 *next_protocol, __u32 *payload_len, __u8 *dsfield, __u8 *ttl, __be16 *df) ip_vs_prepare_tunneled_skb() argument
/linux-4.4.14/drivers/net/ppp/
H A Dpptp.c189 int max_headroom; pptp_xmit() local
204 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(*iph) + sizeof(*hdr) + 2; pptp_xmit()
206 if (skb_headroom(skb) < max_headroom || skb_cloned(skb) || skb_shared(skb)) { pptp_xmit()
207 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); pptp_xmit()
/linux-4.4.14/net/ipv6/
H A Dip6_gre.c613 unsigned int max_headroom = 0; /* The extra header space needed */ ip6gre_xmit2() local
664 max_headroom += 8; ip6gre_xmit2()
689 max_headroom += LL_RESERVED_SPACE(tdev) + gre_hlen + dst->header_len; ip6gre_xmit2()
691 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || ip6gre_xmit2()
693 new_skb = skb_realloc_headroom(skb, max_headroom); ip6gre_xmit2()
694 if (max_headroom > dev->needed_headroom) ip6gre_xmit2()
695 dev->needed_headroom = max_headroom; ip6gre_xmit2()
H A Dip6_tunnel.c1045 unsigned int max_headroom = sizeof(struct ipv6hdr); ip6_tnl_xmit2() local
1101 max_headroom += 8; ip6_tnl_xmit2()
1119 max_headroom += LL_RESERVED_SPACE(tdev); ip6_tnl_xmit2()
1121 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || ip6_tnl_xmit2()
1125 new_skb = skb_realloc_headroom(skb, max_headroom); ip6_tnl_xmit2()
H A Dsit.c816 unsigned int max_headroom; /* The extra header space needed */ ipip6_tunnel_xmit() local
957 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; ipip6_tunnel_xmit()
959 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || ipip6_tunnel_xmit()
961 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); ipip6_tunnel_xmit()
/linux-4.4.14/net/ipv4/
H A Dip_tunnel.c658 unsigned int max_headroom; /* The extra header space needed */ ip_tunnel_xmit() local
787 max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr) ip_tunnel_xmit()
789 if (max_headroom > dev->needed_headroom) ip_tunnel_xmit()
790 dev->needed_headroom = max_headroom; ip_tunnel_xmit()

Completed in 239 milliseconds