Searched refs:trimlen (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | esp6.c | 746 int padlen, trimlen; in esp_remove_trailer() local 766 trimlen = alen + padlen + 2; in esp_remove_trailer() 768 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer() 770 skb->len - trimlen); in esp_remove_trailer() 772 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
/openbmc/linux/net/ipv4/ |
H A D | esp4.c | 708 int padlen, trimlen; in esp_remove_trailer() local 728 trimlen = alen + padlen + 2; in esp_remove_trailer() 730 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer() 732 skb->len - trimlen); in esp_remove_trailer() 734 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A 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()
|