Home
last modified time | relevance | path

Searched refs:pskb_expand_head (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c116 if (pskb_expand_head(skb, ETH_HLEN, 0, GFP_ATOMIC)) { in rmnet_map_ingress_handler()
150 if (pskb_expand_head(skb, required_headroom, 0, GFP_ATOMIC)) in rmnet_map_egress_handler()
/Linux-v4.19/Documentation/networking/
Dtc-actions-env-rules.txt11 2) If you munge any packet thou shalt call pskb_expand_head in the case
/Linux-v4.19/drivers/net/wan/
Dhdlc_raw_eth.c34 if (pskb_expand_head(skb, 0, pad, GFP_ATOMIC)) { in eth_tx()
/Linux-v4.19/net/ipv4/
Dnetfilter.c75 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
/Linux-v4.19/net/ipv6/
Dnetfilter.c63 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
Dexthdrs.c246 if (pskb_expand_head(skb, 0, 0, GFP_ATOMIC)) in ipv6_dest_hao()
427 if (pskb_expand_head(skb, 0, 0, GFP_ATOMIC)) { in ipv6_srh_rcv()
582 if (pskb_expand_head(skb, 0, 0, GFP_ATOMIC)) { in ipv6_rthdr_rcv()
Dseg6_iptunnel.c268 if (pskb_expand_head(skb, skb->mac_len, 0, GFP_ATOMIC) < 0) in seg6_do_srh()
/Linux-v4.19/net/batman-adv/
Dfragmentation.c281 if (pskb_expand_head(skb_out, 0, size - skb_out->len, GFP_ATOMIC) < 0) { in batadv_frag_merge_packets()
539 pskb_expand_head(skb, header_size + ETH_HLEN, 0, GFP_ATOMIC) < 0) { in batadv_frag_send_packet()
/Linux-v4.19/net/netfilter/
Dnf_nat_helper.c78 if (pskb_expand_head(skb, 0, extra - skb_tailroom(skb), GFP_ATOMIC)) in enlarge_skb()
Dxt_TCPMSS.c158 if (pskb_expand_head(skb, 0, in tcpmss_mangle_packet()
Dnf_nat_core.c135 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in nf_xfrm_me_harder()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Drx.c253 pskb_expand_head(skb, sizeof(struct rx_radiotap_hdr), 0, GFP_ATOMIC)) { in process_rxed_802_11_packet()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c220 if (pskb_expand_head(skb, need_headroom, need_tailroom, in hostap_data_start_xmit()
353 pskb_expand_head(skb, prefix_len, postfix_len, GFP_ATOMIC)) { in hostap_tx_encrypt()
Dhostap_80211_rx.c116 if (pskb_expand_head(skb, head_need > 0 ? head_need : 0, in prism2_rx_80211()
/Linux-v4.19/net/bpf/
Dtest_run.c152 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/Linux-v4.19/net/xfrm/
Dxfrm_output.c38 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
/Linux-v4.19/include/linux/
Dskbuff.h1054 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
1451 return pskb_expand_head(skb, 0, 0, pri); in skb_unclone()
1480 return pskb_expand_head(skb, 0, 0, pri); in skb_header_unclone()
2522 int ret = pskb_expand_head(skb, 0, diff - skb_tailroom(skb), in __skb_grow()
2891 pskb_expand_head(skb, 0, 0, GFP_ATOMIC); in skb_try_make_writable()
2903 return pskb_expand_head(skb, ALIGN(delta, NET_SKB_PAD), 0, in __skb_cow()
4005 ret = pskb_expand_head(skb, extra, 0, GFP_ATOMIC); in gso_pskb_expand_head()
/Linux-v4.19/net/core/
Dlwt_bpf.c142 if (pskb_expand_head(skb, nhead, 0, GFP_ATOMIC)) in xmit_check_hhlen()
Dskbuff.c1444 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() function
1529 EXPORT_SYMBOL(pskb_expand_head);
1542 if (skb2 && pskb_expand_head(skb2, SKB_DATA_ALIGN(delta), 0, in skb_realloc_headroom()
1637 err = pskb_expand_head(skb, 0, ntail, GFP_ATOMIC); in __skb_pad()
1767 unlikely((err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))) in ___pskb_trim()
1891 if (pskb_expand_head(skb, 0, eat > 0 ? eat + 128 : 0, in __pskb_pull_tail()
3075 return skb_cloned(skb) && pskb_expand_head(skb, 0, 0, GFP_ATOMIC); in skb_prepare_for_shift()
4114 pskb_expand_head(skb, 0, tailbits-skb_tailroom(skb)+128, GFP_ATOMIC)) in skb_cow_data()
5129 return pskb_expand_head(skb, 0, 0, GFP_ATOMIC); in skb_ensure_writable()
/Linux-v4.19/drivers/bluetooth/
Dbtmtkuart.c524 err = pskb_expand_head(skb, sizeof(*shdr), MTK_STP_TLR_SIZE, in btmtkuart_send_frame()
/Linux-v4.19/net/tipc/
Dudp_media.c222 err = pskb_expand_head(skb, UDP_MIN_HEADROOM, 0, GFP_ATOMIC); in tipc_udp_send_msg()
Dbearer.c451 if ((delta > 0) && pskb_expand_head(skb, delta, 0, GFP_ATOMIC)) { in tipc_l2_send_msg()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Drecv.c1187 if (pskb_expand_head(hdr_skb, 0, space, GFP_ATOMIC) < 0) { in ath_rx_tasklet()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c320 pskb_expand_head(skb, 0, noa_data->length, in iwlagn_tx_skb()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.c309 ret = pskb_expand_head(skb, ALIGN(head_delta, NET_SKB_PAD), 0, in brcmf_netdev_start_xmit()

12