/Linux-v6.6/drivers/net/wireguard/ |
D | receive.c | 76 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-v6.6/net/mac80211/ |
D | wep.c | 263 pskb_trim(rx->skb, rx->skb->len - IEEE80211_WEP_ICV_LEN)) in ieee80211_crypto_wep_decrypt()
|
D | wpa.c | 576 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-v6.6/net/xfrm/ |
D | xfrm_ipcomp.c | 147 pskb_trim(skb, dlen + sizeof(struct ip_comp_hdr)); in ipcomp_compress()
|
D | espintcp.c | 101 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_rxtx.c | 62 ret = pskb_trim(skb, skb->len - trailer_len); in mlx5e_ipsec_remove_trailer()
|
/Linux-v6.6/net/phonet/ |
D | af_phonet.c | 380 if ((len > skb->len) || pskb_trim(skb, len)) in phonet_rcv()
|
/Linux-v6.6/net/ipv4/ |
D | ip_tunnel_core.c | 210 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()
|
D | ip_gre.c | 551 if (pskb_trim(skb, dev->mtu + dev->hard_header_len)) in erspan_fb_xmit() 693 if (pskb_trim(skb, dev->mtu + dev->hard_header_len)) in erspan_xmit()
|
D | esp4.c | 735 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
/Linux-v6.6/arch/um/drivers/ |
D | vector_kern.c | 893 pskb_trim(skb, pkt_len - vp->rx_header_size); in vector_legacy_rx() 1016 pskb_trim(skb, in vector_mmsg_rx()
|
/Linux-v6.6/net/openvswitch/ |
D | actions.c | 927 pskb_trim(skb, skb->len - cutlen); in do_output() 929 pskb_trim(skb, ovs_mac_header_len(key)); in do_output()
|
/Linux-v6.6/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.c | 370 if (pskb_trim(skb, skb->len - ETH_FCS_LEN)) in ocelot_fdma_receive_skb()
|
/Linux-v6.6/net/ipv6/ |
D | esp6.c | 773 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
D | ip6_gre.c | 958 if (pskb_trim(skb, dev->mtu + dev->hard_header_len)) in ip6erspan_tunnel_xmit()
|
/Linux-v6.6/drivers/net/ethernet/asix/ |
D | ax88796c_main.c | 489 pskb_trim(rx_skb, len); in ax88796c_rx_fixup()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 856 if (pskb_trim(skb, len)) in mt76x02_mac_process_rx()
|
/Linux-v6.6/net/netfilter/ |
D | nfnetlink_queue.c | 877 if (pskb_trim(e->skb, data_len)) in nfqnl_mangle()
|
/Linux-v6.6/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 1264 ret = pskb_trim(skb, pkt_len); in emac_tso_csum()
|
/Linux-v6.6/include/linux/ |
D | skbuff.h | 3072 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-v6.6/net/core/ |
D | skbuff.c | 2571 unlikely((err = pskb_trim(frag, len - offset)))) in ___pskb_trim() 4573 if (unlikely(pskb_trim(nskb, len))) { in skb_segment() 6567 pskb_trim(clone, to_copy)) { in pskb_extract()
|
/Linux-v6.6/net/iucv/ |
D | af_iucv.c | 244 err = pskb_trim(skb, skb->dev->mtu); in afiucv_hs_send()
|
/Linux-v6.6/drivers/scsi/fcoe/ |
D | fcoe.c | 1709 if (pskb_trim(skb, fr_len)) in fcoe_recv_frame()
|
/Linux-v6.6/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1645 err = pskb_trim(skb, real_len); in atl1e_tso_csum()
|
/Linux-v6.6/net/tipc/ |
D | crypto.c | 1963 if (pskb_trim(*skb, (*skb)->len - aead->authsize)) in tipc_crypto_rcv_complete()
|