Home
last modified time | relevance | path

Searched refs:skb_tailroom (Results 1 – 25 of 137) sorted by relevance

123456

/linux-6.1.9/net/netfilter/
Dnf_nat_helper.c72 if (pskb_expand_head(skb, 0, extra - skb_tailroom(skb), GFP_ATOMIC)) in enlarge_skb()
102 rep_len - match_len > skb_tailroom(skb) && in __nf_nat_mangle_tcp_packet()
152 rep_len - match_len > skb_tailroom(skb) && in nf_nat_mangle_udp_packet()
Dxt_TCPMSS.c154 if (skb_tailroom(skb) < TCPOLEN_MSS) { in tcpmss_mangle_packet()
156 TCPOLEN_MSS - skb_tailroom(skb), in tcpmss_mangle_packet()
/linux-6.1.9/drivers/bluetooth/
Dh4_recv.h111 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
122 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
Dhci_h4.c232 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
243 if (skb_tailroom(skb) < dlen) { in h4_recv_buf()
/linux-6.1.9/lib/
Dnlattr.c937 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_reserve()
967 if (unlikely(skb_tailroom(skb) < len)) in nla_reserve_64bit()
986 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_reserve_nohdr()
1064 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_put()
1092 if (unlikely(skb_tailroom(skb) < len)) in nla_put_64bit()
1111 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_put_nohdr()
1130 if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) in nla_append()
/linux-6.1.9/net/mac80211/
Dmesh.c266 if (skb_tailroom(skb) < 2 + meshconf_len) in mesh_add_meshconf_ie()
309 if (skb_tailroom(skb) < 2 + ifmsh->mesh_id_len) in mesh_add_meshid_ie()
333 if (skb_tailroom(skb) < 4) in mesh_add_awake_window_ie()
360 if (skb_tailroom(skb) < len) in mesh_add_vendor_ies()
384 if (skb_tailroom(skb) < len) in mesh_add_rsn_ie()
398 if (skb_tailroom(skb) < 3) in mesh_add_ds_params_ie()
438 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_ht_cap)) in mesh_add_ht_cap_ie()
479 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_ht_operation)) in mesh_add_ht_oper_ie()
510 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_vht_cap)) in mesh_add_vht_cap_ie()
551 if (skb_tailroom(skb) < 2 + sizeof(struct ieee80211_vht_operation)) in mesh_add_vht_oper_ie()
[all …]
Dwpa.c70 if (WARN(skb_tailroom(skb) < tail || in ieee80211_tx_h_michael_mic_add()
74 skb_tailroom(skb), tail)) in ieee80211_tx_h_michael_mic_add()
219 if (WARN_ON(skb_tailroom(skb) < tail || in tkip_encrypt_skb()
452 if (WARN_ON(skb_tailroom(skb) < tail || in ccmp_encrypt_skb()
651 if (WARN_ON(skb_tailroom(skb) < tail || in gcmp_encrypt_skb()
841 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_encrypt()
888 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_256_encrypt()
1033 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_gmac_encrypt()
/linux-6.1.9/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()
Drtllib_crypt_tkip.c279 if (skb_headroom(skb) < 8 || skb_tailroom(skb) < 4 || in rtllib_tkip_encrypt()
523 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in rtllib_michael_mic_add()
526 skb_tailroom(skb), hdr_len, skb->len); in rtllib_michael_mic_add()
/linux-6.1.9/net/xfrm/
Dxfrm_ipcomp.c56 if (len > skb_tailroom(skb)) in ipcomp_decompress()
57 len = skb_tailroom(skb); in ipcomp_decompress()
/linux-6.1.9/net/rxrpc/
Dsendmsg.c374 if (sp->remain > skb_tailroom(skb)) in rxrpc_send_data()
375 sp->remain = skb_tailroom(skb); in rxrpc_send_data()
379 skb_tailroom(skb), in rxrpc_send_data()
391 int copy = skb_tailroom(skb); in rxrpc_send_data()
/linux-6.1.9/net/mac802154/
Dtx.c61 if (unlikely(skb_tailroom(skb) < IEEE802154_FCS_LEN)) { in ieee802154_tx()
/linux-6.1.9/drivers/net/wan/
Dhdlc_raw_eth.c30 if (skb_tailroom(skb) < pad) in eth_tx()
/linux-6.1.9/net/802/
Dmrp.c335 if (skb_tailroom(app->pdu) < sizeof(*endmark)) in mrp_pdu_append_end_mark()
379 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr()
393 if (skb_tailroom(app->pdu) < sizeof(*vah) + attrlen) in mrp_pdu_append_vecattr_hdr()
445 if (skb_tailroom(app->pdu) < sizeof(u8)) in mrp_pdu_append_vecattr_event()
Dgarp.c243 if (skb_tailroom(app->pdu) < sizeof(u8)) in garp_pdu_append_end_mark()
279 if (skb_tailroom(app->pdu) < sizeof(*gm)) in garp_pdu_append_msg()
310 if (skb_tailroom(app->pdu) < len) in garp_pdu_append_attr()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dce.c341 skb->len + skb_tailroom(skb), in ath11k_ce_rx_post_pipe()
357 skb->len + skb_tailroom(skb), in ath11k_ce_rx_post_pipe()
429 max_nbytes = skb->len + skb_tailroom(skb); in ath11k_ce_recv_process_cb()
818 skb->len + skb_tailroom(skb), DMA_FROM_DEVICE); in ath11k_ce_rx_pipe_cleanup()
Ddp_rx.c386 skb->len + skb_tailroom(skb), in ath11k_dp_rxbufs_replenish()
423 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rxbufs_replenish()
449 skb->len + skb_tailroom(skb), DMA_FROM_DEVICE); in ath11k_dp_rxdma_buf_ring_free()
471 skb->len + skb_tailroom(skb), DMA_BIDIRECTIONAL); in ath11k_dp_rxdma_buf_ring_free()
1801 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath11k_dp_rx_msdu_coalesce()
2684 msdu->len + skb_tailroom(msdu), in ath11k_dp_process_rx()
2860 skb->len + skb_tailroom(skb), in ath11k_dp_rx_alloc_mon_status_buf()
2876 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rx_alloc_mon_status_buf()
2940 dma_unmap_single(ab->dev, paddr, skb->len + skb_tailroom(skb), in ath11k_dp_rx_mon_status_bufs_replenish()
3046 skb->len + skb_tailroom(skb), in ath11k_dp_rx_reap_mon_status_ring()
[all …]
/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c341 if (skb_tailroom(skb) < 4 || skb->len < hdr_len) in lib80211_tkip_encrypt()
547 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in lib80211_michael_mic_add()
550 skb_tailroom(skb), hdr_len, skb->len); in lib80211_michael_mic_add()
Dlib80211_crypt_wep.c113 if (skb_tailroom(skb) < 4) in lib80211_wep_encrypt()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c279 if (skb_headroom(skb) < 8 || skb_tailroom(skb) < 4 || in ieee80211_tkip_encrypt()
512 if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { in ieee80211_michael_mic_add()
515 skb_tailroom(skb), hdr_len, skb->len); in ieee80211_michael_mic_add()
Dieee80211_crypt_wep.c76 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
/linux-6.1.9/drivers/net/usb/
Dgl620a.c141 int tailroom = skb_tailroom(skb); in genelink_tx_fixup()
Dint51x1.c60 int tailroom = skb_tailroom(skb); in int51x1_tx_fixup()
/linux-6.1.9/drivers/staging/vt6656/
Dusbpipe.c391 skb_tailroom(rcb->skb)); in vnt_submit_rx_urb_complete()
412 skb_put(rcb->skb, skb_tailroom(rcb->skb)), in vnt_submit_rx_urb()
/linux-6.1.9/net/netrom/
Dnr_subr.c152 dptr = skb_put(skb, skb_tailroom(skb)); in nr_write_internal()

123456