Home
last modified time | relevance | path

Searched refs:skb_headroom (Results 1 – 25 of 145) sorted by relevance

123456

/kernel/linux/linux-5.10/net/ipv6/
Dnetfilter.c70 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder()
71 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
161 skb_headroom(skb) < (hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
169 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
/kernel/linux/linux-5.10/net/ipv4/
Dnetfilter.c78 if (skb_headroom(skb) < hh_len && in ip_route_me_harder()
79 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c170 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) { in mwifiex_uap_queue_bridged_pkt()
173 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
189 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
311 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) in mwifiex_uap_recv_packet()
502 BUG_ON(skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN); in mwifiex_process_uap_txpd()
Dsta_tx.c61 BUG_ON(skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN); in mwifiex_process_sta_txpd()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c72 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
75 skb_headroom(skb), skb_tailroom(skb), skb->len, hdr_len); in prism2_wep_encrypt()
/kernel/linux/linux-5.10/net/core/
Dtimestamping.c53 if (skb_headroom(skb) < ETH_HLEN) in skb_defer_rx_timestamp()
/kernel/linux/linux-5.10/net/hsr/
Dhsr_forward.c86 skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); in create_stripped_skb_hsr()
135 skb_headroom(frame->skb_prp), in prp_get_untagged_frame()
256 skb_headroom(frame->skb_std) + HSR_HLEN, GFP_ATOMIC); in hsr_create_tagged_frame()
/kernel/linux/linux-5.10/net/ax25/
Dax25_out.c140 frontlen = skb_headroom(skb); /* Address space + CTRL */ in ax25_output()
339 if (skb_headroom(skb) < headroom) { in ax25_transmit_buffer()
/kernel/linux/linux-5.10/net/ieee802154/6lowpan/
Dtx.c21 WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct lowpan_addr_info)); in lowpan_skb_priv()
263 if (unlikely(skb_headroom(skb) < ldev->needed_headroom || in lowpan_xmit()
/kernel/linux/linux-5.10/include/net/
Dneighbour.h475 if (likely(skb_headroom(skb) >= HH_DATA_MOD)) { in neigh_hh_output()
483 if (likely(skb_headroom(skb) >= hh_alen)) { in neigh_hh_output()
490 if (WARN_ON_ONCE(skb_headroom(skb) < hh_alen)) { in neigh_hh_output()
/kernel/linux/linux-5.10/net/atm/
Dpppoatm.c319 if (skb_headroom(skb) < LLC_LEN) { in pppoatm_send()
361 if ((pvcc->flags & SC_COMP_PROT) && skb_headroom(skb) > 0 && in pppoatm_send()
/kernel/linux/linux-5.10/net/mac80211/
Dwpa.c71 skb_headroom(skb) < IEEE80211_TKIP_IV_LEN, in ieee80211_tx_h_michael_mic_add()
73 skb_headroom(skb), IEEE80211_TKIP_IV_LEN, in ieee80211_tx_h_michael_mic_add()
220 skb_headroom(skb) < IEEE80211_TKIP_IV_LEN)) in tkip_encrypt_skb()
441 skb_headroom(skb) < IEEE80211_CCMP_HDR_LEN)) in ccmp_encrypt_skb()
676 skb_headroom(skb) < IEEE80211_GCMP_HDR_LEN)) in gcmp_encrypt_skb()
822 if (unlikely(skb_headroom(skb) < iv_len && in ieee80211_crypto_cs_encrypt()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_hal.c82 if (header_size > skb_headroom(skb)) { in rsi_prepare_mgmt_desc()
90 if (dword_align_bytes > skb_headroom(skb)) { in rsi_prepare_mgmt_desc()
176 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
182 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
406 if (header_size > skb_headroom(skb)) { in rsi_send_bt_pkt()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c63 skb_headroom(skb) < ll_rs) in nf_br_ip_fragment()
71 skb_headroom(frag) < hlen + ll_rs) in nf_br_ip_fragment()
/kernel/linux/linux-5.10/drivers/nfc/
Dport100.c442 int skb_headroom; member
967 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, in port100_alloc_skb()
970 skb_reserve(skb, dev->skb_headroom); in port100_alloc_skb()
1544 dev->skb_headroom = PORT100_FRAME_HEADER_LEN + in port100_probe()
1587 dev->skb_headroom, in port100_probe()
/kernel/linux/linux-5.10/drivers/net/usb/
Dint51x1.c59 int headroom = skb_headroom(skb); in int51x1_tx_fixup()
Dgl620a.c140 int headroom = skb_headroom(skb); in genelink_tx_fixup()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtrsi.c66 if (skb_headroom(skb) < RSI_HEADROOM_FOR_BT_HAL) { in rsi_hci_send_pkt()
/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c341 nskb = alloc_skb(skb_headroom(skb) + skb->len, GFP_ATOMIC); in tls_enc_skb()
345 skb_reserve(nskb, skb_headroom(skb)); in tls_enc_skb()
/kernel/linux/linux-5.10/net/x25/
Dx25_out.c63 frontlen = skb_headroom(skb); in x25_output()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dqueueing.h99 skb->hdr_len = skb_headroom(skb); in wg_reset_packet()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c76 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c140 if (skb_headroom(skb) < required_headroom) { in rmnet_map_egress_handler()
/kernel/linux/linux-5.10/include/linux/can/
Ddev.h115 if (WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct can_skb_priv))) in can_skb_headroom_valid()
/kernel/linux/linux-5.10/net/caif/
Dcaif_usb.c64 if (skb_headroom(skb) < ETH_HLEN + CFUSB_PAD_DESCR_SZ + hpad) { in cfusbl_transmit()

123456