Searched refs:max_headroom (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/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 …]
|
/linux-6.1.9/net/bridge/ |
D | br_if.c | 300 unsigned max_headroom = 0; in get_max_headroom() local 306 if (dev_headroom > max_headroom) in get_max_headroom() 307 max_headroom = dev_headroom; in get_max_headroom() 310 return max_headroom; in get_max_headroom()
|
/linux-6.1.9/drivers/net/ppp/ |
D | pptp.c | 149 int max_headroom; in pptp_xmit() local 164 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(*iph) + sizeof(*hdr) + 2; in pptp_xmit() 166 if (skb_headroom(skb) < max_headroom || skb_cloned(skb) || skb_shared(skb)) { in pptp_xmit() 167 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in pptp_xmit()
|
/linux-6.1.9/net/openvswitch/ |
D | datapath.c | 2187 unsigned int dev_headroom, max_headroom = 0; in ovs_get_max_headroom() local 2197 if (dev_headroom > max_headroom) in ovs_get_max_headroom() 2198 max_headroom = dev_headroom; in ovs_get_max_headroom() 2202 return max_headroom; in ovs_get_max_headroom() 2211 dp->max_headroom = new_headroom; in ovs_update_headroom() 2295 if (new_headroom > dp->max_headroom) in ovs_vport_cmd_new() 2298 netdev_set_rx_headroom(vport->dev, dp->max_headroom); in ovs_vport_cmd_new() 2397 if (netdev_get_fwd_headroom(vport->dev) == dp->max_headroom) in ovs_vport_cmd_del() 2406 if (new_headroom < dp->max_headroom) in ovs_vport_cmd_del()
|
D | datapath.h | 102 u32 max_headroom; member
|
/linux-6.1.9/net/ipv6/ |
D | ip6_tunnel.c | 1082 unsigned int max_headroom = psh_hlen; in ip6_tnl_xmit() local 1176 max_headroom += 8; in ip6_tnl_xmit() 1205 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit() 1207 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ip6_tnl_xmit() 1211 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6_tnl_xmit() 1242 max_headroom = LL_RESERVED_SPACE(dst->dev) + sizeof(struct ipv6hdr) in ip6_tnl_xmit() 1244 if (max_headroom > dev->needed_headroom) in ip6_tnl_xmit() 1245 dev->needed_headroom = max_headroom; in ip6_tnl_xmit()
|
D | sit.c | 863 unsigned int max_headroom; /* The extra header space needed */ in ipip6_tunnel_xmit() local 1005 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit() 1007 if (skb_headroom(skb) < max_headroom || skb_shared(skb) || in ipip6_tunnel_xmit() 1009 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit()
|
/linux-6.1.9/net/ipv4/ |
D | ip_tunnel.c | 643 unsigned int max_headroom; /* The extra header space needed */ in ip_tunnel_xmit() local 801 max_headroom = LL_RESERVED_SPACE(rt->dst.dev) + sizeof(struct iphdr) in ip_tunnel_xmit() 803 if (max_headroom > dev->needed_headroom) in ip_tunnel_xmit() 804 dev->needed_headroom = max_headroom; in ip_tunnel_xmit()
|