/linux/net/batman-adv/ |
H A D | hard-interface.c | 543 unsigned short needed_headroom; in batadv_hardif_recalc_extra_skbroom() local 557 hard_iface->net_dev->needed_headroom); in batadv_hardif_recalc_extra_skbroom() 564 needed_headroom = lower_headroom + (lower_header_len - ETH_HLEN); in batadv_hardif_recalc_extra_skbroom() 565 needed_headroom += batadv_max_header_len(); in batadv_hardif_recalc_extra_skbroom() 568 needed_headroom += sizeof(struct batadv_frag_packet); in batadv_hardif_recalc_extra_skbroom() 570 soft_iface->needed_headroom = needed_headroom; in batadv_hardif_recalc_extra_skbroom()
|
/linux/net/dsa/ |
H A D | tag_brcm.c | 208 .needed_headroom = BRCM_TAG_LEN, 290 .needed_headroom = BRCM_LEG_TAG_LEN, 317 .needed_headroom = BRCM_TAG_LEN,
|
H A D | tag_ocelot.c | 161 .needed_headroom = OCELOT_TOTAL_TAG_LEN, 173 .needed_headroom = OCELOT_TOTAL_TAG_LEN,
|
H A D | tag_dsa.c | 349 .needed_headroom = DSA_HLEN, 391 .needed_headroom = EDSA_HLEN,
|
H A D | tag_vsc73xx_8021q.c | 60 .needed_headroom = VLAN_HLEN,
|
H A D | tag_gswip.c | 107 .needed_headroom = GSWIP_RX_HEADER_LEN,
|
H A D | tag_mtk.c | 102 .needed_headroom = MTK_HDR_LEN,
|
H A D | tag_ar9331.c | 89 .needed_headroom = AR9331_HDR_LEN,
|
H A D | tag_lan9303.c | 119 .needed_headroom = LAN9303_TAG_LEN,
|
H A D | tag_rzn1_a5psw.c | 110 .needed_headroom = A5PSW_TAG_LEN,
|
H A D | tag_rtl4_a.c | 120 .needed_headroom = RTL4_A_HDR_LEN,
|
H A D | tag_qca.c | 118 .needed_headroom = QCA_HDR_LEN,
|
H A D | tag_ocelot_8021q.c | 132 .needed_headroom = VLAN_HLEN,
|
H A D | tag_rtl8_4.c | 235 .needed_headroom = RTL8_4_TAG_LEN,
|
H A D | tag.h | 29 return ops->needed_headroom + ops->needed_tailroom; in dsa_tag_protocol_overhead()
|
/linux/net/ieee802154/6lowpan/ |
H A D | tx.c | 108 frag = alloc_skb(wdev->needed_headroom + wdev->needed_tailroom + size, in lowpan_alloc_frag() 114 skb_reserve(frag, wdev->needed_headroom); in lowpan_alloc_frag() 263 if (unlikely(skb_headroom(skb) < ldev->needed_headroom || in lowpan_xmit() 267 nskb = skb_copy_expand(skb, ldev->needed_headroom, in lowpan_xmit()
|
H A D | core.c | 168 ldev->needed_headroom = LOWPAN_IPHC_MAX_HEADER_LEN + in lowpan_newlink() 169 wdev->needed_headroom; in lowpan_newlink()
|
/linux/net/l2tp/ |
H A D | l2tp_eth.c | 196 dev->needed_headroom += sizeof(struct udphdr); in l2tp_eth_adjust_mtu() 222 dev->needed_headroom += session->hdr_len; in l2tp_eth_adjust_mtu()
|
/linux/net/ipv4/ |
H A D | ip_gre.c | 509 if (skb_cow_head(skb, dev->needed_headroom)) in gre_fb_xmit() 565 if (skb_cow_head(skb, dev->needed_headroom)) in erspan_fb_xmit() 678 if (skb_cow_head(skb, dev->needed_headroom)) in ipgre_xmit() 715 if (skb_cow_head(skb, dev->needed_headroom)) in erspan_xmit() 769 if (skb_cow_head(skb, dev->needed_headroom)) in gre_tap_xmit() 794 dev->needed_headroom += len; in ipgre_link_update() 998 dev->needed_headroom = tunnel->hlen + sizeof(tunnel->parms.iph); in __gre_tunnel_init() 1040 dev->needed_headroom = 0; in ipgre_tunnel_init() 1046 dev->needed_headroom = 0; in ipgre_tunnel_init()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 643 int needed_headroom = max_t(int, OCELOT_TAG_LEN - skb_headroom(skb), 0); in ocelot_fdma_prepare_skb() local 648 if (unlikely(needed_headroom || needed_tailroom || in ocelot_fdma_prepare_skb() 650 err = pskb_expand_head(skb, needed_headroom, needed_tailroom, in ocelot_fdma_prepare_skb() 793 dev->needed_headroom = OCELOT_TAG_LEN; in ocelot_fdma_netdev_init()
|
/linux/net/bridge/ |
H A D | br_if.c | 321 br->dev->needed_headroom = new_hr; in update_headroom() 352 if (netdev_get_fwd_headroom(dev) == br->dev->needed_headroom) in del_nbp() 657 br_hr = br->dev->needed_headroom; in br_add_if()
|
/linux/drivers/net/wan/ |
H A D | lapbether.c | 401 ndev->needed_headroom = -1 + 3 + 2 + dev->hard_header_len in lapbeth_new_device() 402 + dev->needed_headroom; in lapbeth_new_device()
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_fdma.c | 702 int needed_headroom; in lan966x_fdma_xmit() local 721 needed_headroom = max_t(int, IFH_LEN_BYTES - skb_headroom(skb), 0); in lan966x_fdma_xmit() 723 if (needed_headroom || needed_tailroom || skb_header_cloned(skb)) { in lan966x_fdma_xmit() 724 err = pskb_expand_head(skb, needed_headroom, needed_tailroom, in lan966x_fdma_xmit()
|
/linux/drivers/net/wwan/ |
H A D | mhi_wwan_mbim.c | 587 ndev->needed_headroom = sizeof(struct mbim_tx_hdr); in mhi_mbim_setup() 594 ndev->max_mtu = MHI_MAX_BUF_SZ - ndev->needed_headroom; in mhi_mbim_setup()
|
/linux/include/net/ |
H A D | macsec.h | 354 unsigned int needed_headroom; member
|