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() 1296 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit_v6() local 1320 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6() [all …]
|
/net/bridge/ |
D | br_if.c | 291 unsigned max_headroom = 0; in get_max_headroom() local 297 if (dev_headroom > max_headroom) in get_max_headroom() 298 max_headroom = dev_headroom; in get_max_headroom() 301 return max_headroom; in get_max_headroom()
|
/net/openvswitch/ |
D | datapath.c | 2007 unsigned int dev_headroom, max_headroom = 0; in ovs_get_max_headroom() local 2016 if (dev_headroom > max_headroom) in ovs_get_max_headroom() 2017 max_headroom = dev_headroom; in ovs_get_max_headroom() 2021 return max_headroom; in ovs_get_max_headroom() 2030 dp->max_headroom = new_headroom; in ovs_update_headroom() 2108 if (new_headroom > dp->max_headroom) in ovs_vport_cmd_new() 2111 netdev_set_rx_headroom(vport->dev, dp->max_headroom); in ovs_vport_cmd_new() 2210 if (netdev_get_fwd_headroom(vport->dev) == dp->max_headroom) in ovs_vport_cmd_del() 2219 if (new_headroom < dp->max_headroom) in ovs_vport_cmd_del()
|
D | datapath.h | 82 u32 max_headroom; member
|
/net/ipv6/ |
D | ip6_tunnel.c | 1046 unsigned int max_headroom = psh_hlen; in ip6_tnl_xmit() local 1129 max_headroom += 8; in ip6_tnl_xmit() 1158 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit() 1160 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6_tnl_xmit() 1164 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6_tnl_xmit() 1195 max_headroom = LL_RESERVED_SPACE(dst->dev) + sizeof(struct ipv6hdr) in ip6_tnl_xmit() 1197 if (max_headroom > dev->needed_headroom) in ip6_tnl_xmit() 1198 dev->needed_headroom = max_headroom; in ip6_tnl_xmit()
|
D | sit.c | 826 unsigned int max_headroom; /* The extra header space needed */ in ipip6_tunnel_xmit() local 968 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit() 970 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ipip6_tunnel_xmit() 972 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit()
|
/net/ipv4/ |
D | ip_tunnel.c | 649 unsigned int max_headroom; /* The extra header space needed */ in ip_tunnel_xmit() local 806 max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr) in ip_tunnel_xmit() 808 if (max_headroom > dev->needed_headroom) in ip_tunnel_xmit() 809 dev->needed_headroom = max_headroom; in ip_tunnel_xmit()
|