Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c161 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) { in mwifiex_uap_queue_bridged_pkt()
164 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
180 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
294 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) in mwifiex_uap_recv_packet()
483 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()
/Linux-v4.19/net/ipv6/
Dnetfilter.c62 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder()
63 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
/Linux-v4.19/net/ipv4/
Dnetfilter.c74 if (skb_headroom(skb) < hh_len && in ip_route_me_harder()
75 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
/Linux-v4.19/net/bpf/
Dtest_run.c149 if (skb_headroom(skb) < hh_len) { in bpf_prog_test_run_skb()
150 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb()
/Linux-v4.19/net/core/
Dtimestamping.c66 if (skb_headroom(skb) < ETH_HLEN) in skb_defer_rx_timestamp()
Dlwt_bpf.c139 if (skb_headroom(skb) < hh_len) { in xmit_check_hhlen()
140 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c102 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
105 skb_headroom(skb), skb_tailroom(skb), skb->len, hdr_len); in prism2_wep_encrypt()
/Linux-v4.19/net/ax25/
Dax25_out.c143 frontlen = skb_headroom(skb); /* Address space + CTRL */ in ax25_output()
342 if (skb_headroom(skb) < headroom) { in ax25_transmit_buffer()
/Linux-v4.19/net/ieee802154/6lowpan/
Dtx.c29 WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct lowpan_addr_info)); in lowpan_skb_priv()
268 if (unlikely(skb_headroom(skb) < ldev->needed_headroom || in lowpan_xmit()
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_hal.c75 if (header_size > skb_headroom(skb)) { in rsi_prepare_mgmt_desc()
83 if (dword_align_bytes > skb_headroom(skb)) { in rsi_prepare_mgmt_desc()
162 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
168 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
393 if (header_size > skb_headroom(skb)) { in rsi_send_bt_pkt()
/Linux-v4.19/net/decnet/
Ddn_neigh.c220 if (skb_headroom(skb) < headroom) { in dn_long_output()
268 if (skb_headroom(skb) < headroom) { in dn_short_output()
310 if (skb_headroom(skb) < headroom) { in dn_phase3_output()
/Linux-v4.19/net/atm/
Dpppoatm.c324 if (skb_headroom(skb) < LLC_LEN) { in pppoatm_send()
366 if ((pvcc->flags & SC_COMP_PROT) && skb_headroom(skb) > 0 && in pppoatm_send()
/Linux-v4.19/net/hsr/
Dhsr_forward.c101 skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); in create_stripped_skb()
166 skb = __pskb_copy(skb_o, skb_headroom(skb_o) + HSR_HLEN, GFP_ATOMIC); in create_tagged_skb()
/Linux-v4.19/net/mac80211/
Dwpa.c73 skb_headroom(skb) < IEEE80211_TKIP_IV_LEN, in ieee80211_tx_h_michael_mic_add()
75 skb_headroom(skb), IEEE80211_TKIP_IV_LEN, in ieee80211_tx_h_michael_mic_add()
222 skb_headroom(skb) < IEEE80211_TKIP_IV_LEN)) in tkip_encrypt_skb()
443 skb_headroom(skb) < IEEE80211_CCMP_HDR_LEN)) in ccmp_encrypt_skb()
673 skb_headroom(skb) < IEEE80211_GCMP_HDR_LEN)) in gcmp_encrypt_skb()
814 if (unlikely(skb_headroom(skb) < iv_len && in ieee80211_crypto_cs_encrypt()
/Linux-v4.19/drivers/bluetooth/
Dbtrsi.c65 if (skb_headroom(skb) < RSI_HEADROOM_FOR_BT_HAL) { in rsi_hci_send_pkt()
/Linux-v4.19/drivers/nfc/
Dport100.c451 int skb_headroom; member
976 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, in port100_alloc_skb()
979 skb_reserve(skb, dev->skb_headroom); in port100_alloc_skb()
1553 dev->skb_headroom = PORT100_FRAME_HEADER_LEN + in port100_probe()
1596 dev->skb_headroom, in port100_probe()
/Linux-v4.19/drivers/net/usb/
Dgl620a.c152 int headroom = skb_headroom(skb); in genelink_tx_fixup()
Dint51x1.c70 int headroom = skb_headroom(skb); in int51x1_tx_fixup()
/Linux-v4.19/net/tls/
Dtls_device_fallback.c329 nskb = alloc_skb(skb_headroom(skb) + skb->len, GFP_ATOMIC); in tls_enc_skb()
333 skb_reserve(nskb, skb_headroom(skb)); in tls_enc_skb()
/Linux-v4.19/net/x25/
Dx25_out.c68 frontlen = skb_headroom(skb); in x25_output()
/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c149 if (skb_headroom(skb) < required_headroom) { in rmnet_map_egress_handler()
/Linux-v4.19/net/caif/
Dcaif_usb.c65 if (skb_headroom(skb) < ETH_HLEN + CFUSB_PAD_DESCR_SZ + hpad) { in cfusbl_transmit()
/Linux-v4.19/include/linux/
Dskbuff.h2130 static inline unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom() function
2384 return skb->csum_start - skb_headroom(skb); in skb_checksum_start_offset()
2862 return __pskb_copy(skb, skb_headroom(skb), gfp_mask); in pskb_copy()
2869 return __pskb_copy_fclone(skb, skb_headroom(skb), gfp_mask, true); in pskb_copy_for_clone()
2884 skb_headroom(skb) + len <= skb->hdr_len; in skb_clone_writable()
2899 if (headroom > skb_headroom(skb)) in __skb_cow()
2900 delta = headroom - skb_headroom(skb); in __skb_cow()
4004 headroom = skb_headroom(skb); in gso_pskb_expand_head()
4009 new_headroom = skb_headroom(skb); in gso_pskb_expand_head()
/Linux-v4.19/net/netrom/
Dnr_out.c46 frontlen = skb_headroom(skb); in nr_output()

123456