Searched refs:max_headroom (Results 1 – 7 of 7) sorted by relevance
/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 948 unsigned int max_headroom, __u8 *next_protocol, in ip_vs_prepare_tunneled_skb() argument 961 if (skb_headroom(skb) < max_headroom || skb_cloned(skb)) { in ip_vs_prepare_tunneled_skb() 962 new_skb = skb_realloc_headroom(skb, max_headroom); in ip_vs_prepare_tunneled_skb() 1147 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit() local 1170 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); in ip_vs_tunnel_xmit() 1184 max_headroom += sizeof(struct udphdr) + gue_hdrlen; in ip_vs_tunnel_xmit() 1193 max_headroom += gre_hdrlen; in ip_vs_tunnel_xmit() 1198 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit() 1297 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit_v6() local 1321 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6() [all …]
|
/net/bridge/ |
D | br_if.c | 292 unsigned max_headroom = 0; in get_max_headroom() local 298 if (dev_headroom > max_headroom) in get_max_headroom() 299 max_headroom = dev_headroom; in get_max_headroom() 302 return max_headroom; in get_max_headroom()
|
/net/openvswitch/ |
D | datapath.c | 2169 unsigned int dev_headroom, max_headroom = 0; in ovs_get_max_headroom() local 2179 if (dev_headroom > max_headroom) in ovs_get_max_headroom() 2180 max_headroom = dev_headroom; in ovs_get_max_headroom() 2184 return max_headroom; in ovs_get_max_headroom() 2193 dp->max_headroom = new_headroom; in ovs_update_headroom() 2273 if (new_headroom > dp->max_headroom) in ovs_vport_cmd_new() 2276 netdev_set_rx_headroom(vport->dev, dp->max_headroom); in ovs_vport_cmd_new() 2375 if (netdev_get_fwd_headroom(vport->dev) == dp->max_headroom) in ovs_vport_cmd_del() 2384 if (new_headroom < dp->max_headroom) in ovs_vport_cmd_del()
|
D | datapath.h | 102 u32 max_headroom; member
|
/net/ipv6/ |
D | ip6_tunnel.c | 1099 unsigned int max_headroom = psh_hlen; in ip6_tnl_xmit() local 1182 max_headroom += 8; in ip6_tnl_xmit() 1211 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit() 1213 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6_tnl_xmit() 1217 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6_tnl_xmit() 1248 max_headroom = LL_RESERVED_SPACE(dst->dev) + sizeof(struct ipv6hdr) in ip6_tnl_xmit() 1250 if (max_headroom > READ_ONCE(dev->needed_headroom)) in ip6_tnl_xmit() 1251 WRITE_ONCE(dev->needed_headroom, max_headroom); in ip6_tnl_xmit()
|
D | sit.c | 869 unsigned int max_headroom; /* The extra header space needed */ in ipip6_tunnel_xmit() local 1011 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit() 1013 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ipip6_tunnel_xmit() 1015 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit()
|
/net/ipv4/ |
D | ip_tunnel.c | 656 unsigned int max_headroom; /* The extra header space needed */ in ip_tunnel_xmit() local 812 max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr) in ip_tunnel_xmit() 815 if (skb_cow_head(skb, max_headroom)) { in ip_tunnel_xmit() 822 ip_tunnel_adj_headroom(dev, max_headroom); in ip_tunnel_xmit()
|