Searched refs:trimlen (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/ipv4/ |
D | esp4.c | 709 int padlen, trimlen; in esp_remove_trailer() local 729 trimlen = alen + padlen + 2; in esp_remove_trailer() 731 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer() 733 skb->len - trimlen); in esp_remove_trailer() 735 pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
/linux-6.1.9/net/ipv6/ |
D | esp6.c | 747 int padlen, trimlen; in esp_remove_trailer() local 767 trimlen = alen + padlen + 2; in esp_remove_trailer() 769 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer() 771 skb->len - trimlen); in esp_remove_trailer() 773 pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 663 int trimlen = 0; in libipw_rx() local 679 trimlen = 4; in libipw_rx() 685 trimlen = 12; in libipw_rx() 691 trimlen = 8; in libipw_rx() 695 if (skb->len < trimlen) in libipw_rx() 698 __skb_trim(skb, skb->len - trimlen); in libipw_rx()
|