Home
last modified time | relevance | path

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

1234567

/linux-5.19.10/net/ipv6/
Dnetfilter.c75 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder()
76 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
167 skb_headroom(skb) < (hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
175 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
/linux-5.19.10/net/ipv4/
Dnetfilter.c77 if (skb_headroom(skb) < hh_len && in ip_route_me_harder()
78 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c160 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) { in mwifiex_uap_queue_bridged_pkt()
163 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
179 skb_headroom(skb)); in mwifiex_uap_queue_bridged_pkt()
293 if (skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN) in mwifiex_uap_recv_packet()
474 BUG_ON(skb_headroom(skb) < MWIFIEX_MIN_DATA_HEADER_LEN); in mwifiex_process_uap_txpd()
/linux-5.19.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()
/linux-5.19.10/net/core/
Dtimestamping.c53 if (skb_headroom(skb) < ETH_HLEN) in skb_defer_rx_timestamp()
/linux-5.19.10/net/sctp/
Doffload.c34 SKB_GSO_CB(skb)->csum_start = skb_headroom(skb) + skb->len; in sctp_gso_make_checksum()
/linux-5.19.10/net/ax25/
Dax25_out.c140 frontlen = skb_headroom(skb); /* Address space + CTRL */ in ax25_output()
338 if (unlikely(skb_headroom(skb) < headroom)) { in ax25_transmit_buffer()
/linux-5.19.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()
/linux-5.19.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()
453 skb_headroom(skb) < IEEE80211_CCMP_HDR_LEN)) in ccmp_encrypt_skb()
652 skb_headroom(skb) < IEEE80211_GCMP_HDR_LEN)) in gcmp_encrypt_skb()
797 if (unlikely(skb_headroom(skb) < iv_len && in ieee80211_crypto_cs_encrypt()
/linux-5.19.10/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-5.19.10/include/net/
Dneighbour.h512 if (likely(skb_headroom(skb) >= HH_DATA_MOD)) { in neigh_hh_output()
520 if (likely(skb_headroom(skb) >= hh_alen)) { in neigh_hh_output()
527 if (WARN_ON_ONCE(skb_headroom(skb) < hh_alen)) { in neigh_hh_output()
/linux-5.19.10/net/hsr/
Dhsr_forward.c128 skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); in create_stripped_skb_hsr()
177 skb_headroom(frame->skb_prp), in prp_get_untagged_frame()
300 skb_headroom(frame->skb_std) + HSR_HLEN, GFP_ATOMIC); in hsr_create_tagged_frame()
/linux-5.19.10/include/linux/can/
Dskb.h104 if (WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct can_skb_priv))) in can_skb_headroom_valid()
/linux-5.19.10/net/atm/
Dpppoatm.c321 if (skb_headroom(skb) < LLC_LEN) { in pppoatm_send()
363 if ((pvcc->flags & SC_COMP_PROT) && skb_headroom(skb) > 0 && in pppoatm_send()
/linux-5.19.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()
172 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
178 if (header_size > skb_headroom(skb)) { in rsi_prepare_data_desc()
402 if (header_size > skb_headroom(skb)) { in rsi_send_bt_pkt()
/linux-5.19.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c64 skb_headroom(skb) < ll_rs) in nf_br_ip_fragment()
72 skb_headroom(frag) < hlen + ll_rs) in nf_br_ip_fragment()
/linux-5.19.10/drivers/nfc/
Dport100.c442 int skb_headroom; member
970 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, in port100_alloc_skb()
973 skb_reserve(skb, dev->skb_headroom); in port100_alloc_skb()
1547 dev->skb_headroom = PORT100_FRAME_HEADER_LEN + in port100_probe()
1590 dev->skb_headroom, in port100_probe()
/linux-5.19.10/drivers/net/wireless/purelifi/plfxlc/
Dmac.c213 if (skb_headroom(skb) < sizeof(struct plfxlc_ctrlset)) { in plfxlc_fill_ctrlset()
238 if (skb_headroom(skb) >= 4 - tmp) { in plfxlc_fill_ctrlset()
260 if (skb_headroom(skb) >= 4) { in plfxlc_fill_ctrlset()
/linux-5.19.10/drivers/bluetooth/
Dbtrsi.c65 if (skb_headroom(skb) < RSI_HEADROOM_FOR_BT_HAL) { in rsi_hci_send_pkt()
/linux-5.19.10/drivers/net/usb/
Dgl620a.c140 int headroom = skb_headroom(skb); in genelink_tx_fixup()
Dint51x1.c59 int headroom = skb_headroom(skb); in int51x1_tx_fixup()
/linux-5.19.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()
/linux-5.19.10/net/x25/
Dx25_out.c63 frontlen = skb_headroom(skb); in x25_output()
/linux-5.19.10/drivers/net/wireguard/
Dqueueing.h97 skb->hdr_len = skb_headroom(skb); in wg_reset_packet()
/linux-5.19.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c76 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()

1234567