Home
last modified time | relevance | path

Searched refs:trimlen (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/
Desp6.c748 int padlen, trimlen; in esp_remove_trailer() local
773 trimlen = alen + padlen + 2; in esp_remove_trailer()
775 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
777 skb->len - trimlen); in esp_remove_trailer()
779 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()
/net/ipv4/
Desp4.c711 int padlen, trimlen; in esp_remove_trailer() local
736 trimlen = alen + padlen + 2; in esp_remove_trailer()
738 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
740 skb->len - trimlen); in esp_remove_trailer()
742 ret = pskb_trim(skb, skb->len - trimlen); in esp_remove_trailer()