Home
last modified time | relevance | path

Searched refs:pskb_trim (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/drivers/net/wireguard/ !
Dreceive.c76 pskb_trim(skb, data_len + data_offset) < 0)) in prepare_skb_header()
287 if (pskb_trim(skb, skb->len - noise_encrypted_len(0))) in decrypt_packet()
401 if (unlikely(pskb_trim(skb, len))) in wg_packet_consume_data_done()
/linux-6.6.21/net/mac80211/ !
Dwep.c263 pskb_trim(rx->skb, rx->skb->len - IEEE80211_WEP_ICV_LEN)) in ieee80211_crypto_wep_decrypt()
Dwpa.c576 if (pskb_trim(skb, skb->len - mic_len)) in ieee80211_crypto_ccmp_decrypt()
773 if (pskb_trim(skb, skb->len - mic_len)) in ieee80211_crypto_gcmp_decrypt()
/linux-6.6.21/net/xfrm/ !
Dxfrm_ipcomp.c147 pskb_trim(skb, dlen + sizeof(struct ip_comp_hdr)); in ipcomp_compress()
Despintcp.c101 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ !
Dipsec_rxtx.c62 ret = pskb_trim(skb, skb->len - trailer_len); in mlx5e_ipsec_remove_trailer()
/linux-6.6.21/net/phonet/ !
Daf_phonet.c380 if ((len > skb->len) || pskb_trim(skb, len)) in phonet_rcv()
/linux-6.6.21/net/ipv4/ !
Dip_tunnel_core.c210 err = pskb_trim(skb, 576 - sizeof(*niph) - sizeof(*icmph)); in iptunnel_pmtud_build_icmp()
304 err = pskb_trim(skb, IPV6_MIN_MTU - sizeof(*nip6h) - sizeof(*icmp6h)); in iptunnel_pmtud_build_icmpv6()
Dip_gre.c551 if (pskb_trim(skb, dev->mtu + dev->hard_header_len)) in erspan_fb_xmit()
696 if (pskb_trim(skb, dev->mtu + dev->hard_header_len)) in erspan_xmit()
Desp4.c735 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
/linux-6.6.21/arch/um/drivers/ !
Dvector_kern.c893 pskb_trim(skb, pkt_len - vp->rx_header_size); in vector_legacy_rx()
1016 pskb_trim(skb, in vector_mmsg_rx()
/linux-6.6.21/net/openvswitch/ !
Dactions.c927 pskb_trim(skb, skb->len - cutlen); in do_output()
929 pskb_trim(skb, ovs_mac_header_len(key)); in do_output()
/linux-6.6.21/drivers/net/ethernet/mscc/ !
Docelot_fdma.c370 if (pskb_trim(skb, skb->len - ETH_FCS_LEN)) in ocelot_fdma_receive_skb()
/linux-6.6.21/net/ipv6/ !
Desp6.c773 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
/linux-6.6.21/drivers/net/ethernet/asix/ !
Dax88796c_main.c489 pskb_trim(rx_skb, len); in ax88796c_rx_fixup()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ !
Dmt76x02_mac.c856 if (pskb_trim(skb, len)) in mt76x02_mac_process_rx()
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/ !
Demac-mac.c1264 ret = pskb_trim(skb, pkt_len); in emac_tso_csum()
/linux-6.6.21/net/netfilter/ !
Dnfnetlink_queue.c877 if (pskb_trim(e->skb, data_len)) in nfqnl_mangle()
/linux-6.6.21/include/linux/ !
Dskbuff.h3072 static inline int pskb_trim(struct sk_buff *skb, unsigned int len) in pskb_trim() function
3088 int err = pskb_trim(skb, len); in pskb_trim_unique()
/linux-6.6.21/net/core/ !
Dskbuff.c2571 unlikely((err = pskb_trim(frag, len - offset)))) in ___pskb_trim()
4575 if (unlikely(pskb_trim(nskb, len))) { in skb_segment()
6571 pskb_trim(clone, to_copy)) { in pskb_extract()
/linux-6.6.21/drivers/scsi/fcoe/ !
Dfcoe.c1709 if (pskb_trim(skb, fr_len)) in fcoe_recv_frame()
/linux-6.6.21/net/iucv/ !
Daf_iucv.c244 err = pskb_trim(skb, skb->dev->mtu); in afiucv_hs_send()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1e/ !
Datl1e_main.c1648 err = pskb_trim(skb, real_len); in atl1e_tso_csum()
/linux-6.6.21/net/tipc/ !
Dcrypto.c1963 if (pskb_trim(*skb, (*skb)->len - aead->authsize)) in tipc_crypto_rcv_complete()
/linux-6.6.21/drivers/scsi/bnx2fc/ !
Dbnx2fc_fcoe.c552 if (pskb_trim(skb, fr_len)) { in bnx2fc_recv_frame()

12