Searched refs:max_headroom (Results 1 – 8 of 8) sorted by relevance
/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 918 unsigned int max_headroom, __u8 *next_protocol, in ip_vs_prepare_tunneled_skb() argument 931 if (skb_headroom(skb) < max_headroom || skb_cloned(skb)) { in ip_vs_prepare_tunneled_skb() 932 new_skb = skb_realloc_headroom(skb, max_headroom); in ip_vs_prepare_tunneled_skb() 1025 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit() local 1046 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); in ip_vs_tunnel_xmit() 1050 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit() 1112 unsigned int max_headroom; /* The extra header space needed */ in ip_vs_tunnel_xmit_v6() local 1134 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6() 1136 skb = ip_vs_prepare_tunneled_skb(skb, cp->af, max_headroom, in ip_vs_tunnel_xmit_v6()
|
/net/bridge/ |
D | br_if.c | 229 unsigned max_headroom = 0; in get_max_headroom() local 235 if (dev_headroom > max_headroom) in get_max_headroom() 236 max_headroom = dev_headroom; in get_max_headroom() 239 return max_headroom; in get_max_headroom()
|
/net/openvswitch/ |
D | datapath.c | 1977 unsigned dev_headroom, max_headroom = 0; in update_headroom() local 1986 if (dev_headroom > max_headroom) in update_headroom() 1987 max_headroom = dev_headroom; in update_headroom() 1991 dp->max_headroom = max_headroom; in update_headroom() 1994 netdev_set_rx_headroom(vport->dev, max_headroom); in update_headroom() 2063 if (netdev_get_fwd_headroom(vport->dev) > dp->max_headroom) in ovs_vport_cmd_new() 2066 netdev_set_rx_headroom(vport->dev, dp->max_headroom); in ovs_vport_cmd_new() 2162 if (netdev_get_fwd_headroom(vport->dev) == dp->max_headroom) in ovs_vport_cmd_del()
|
D | datapath.h | 93 u32 max_headroom; member
|
D | vport-internal_dev.c | 201 vport->dev->needed_headroom = vport->dp->max_headroom; in internal_dev_create()
|
/net/ipv6/ |
D | ip6_tunnel.c | 1052 unsigned int max_headroom = psh_hlen; in ip6_tnl_xmit() local 1135 max_headroom += 8; in ip6_tnl_xmit() 1164 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit() 1166 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6_tnl_xmit() 1170 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6_tnl_xmit() 1194 max_headroom = LL_RESERVED_SPACE(dst->dev) + sizeof(struct ipv6hdr) in ip6_tnl_xmit() 1196 if (max_headroom > dev->needed_headroom) in ip6_tnl_xmit() 1197 dev->needed_headroom = max_headroom; in ip6_tnl_xmit()
|
D | sit.c | 819 unsigned int max_headroom; /* The extra header space needed */ in ipip6_tunnel_xmit() local 956 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit() 958 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ipip6_tunnel_xmit() 960 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit()
|
/net/ipv4/ |
D | ip_tunnel.c | 644 unsigned int max_headroom; /* The extra header space needed */ in ip_tunnel_xmit() local 789 max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr) in ip_tunnel_xmit() 791 if (max_headroom > dev->needed_headroom) in ip_tunnel_xmit() 792 dev->needed_headroom = max_headroom; in ip_tunnel_xmit()
|