Home
last modified time | relevance | path

Searched refs:psum (Results 1 – 3 of 3) sorted by relevance

/include/net/
Dchecksum.h168 __sum16 *psum = (__sum16 *)(ptr + offset); in remcsum_adjust() local
176 (__force __wsum)*psum); in remcsum_adjust()
177 *psum = csum_fold(csum); in remcsum_adjust()
182 static __always_inline void remcsum_unadjust(__sum16 *psum, __wsum delta) in remcsum_unadjust() argument
184 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()
/include/linux/
Dskbuff.h4000 __wsum psum) in __skb_checksum_validate_complete() argument
4003 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete()
4009 skb->csum = psum; in __skb_checksum_validate_complete()
Dnetdevice.h2793 __wsum psum) in __skb_gro_checksum_validate_complete() argument
2796 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete()
2799 NAPI_GRO_CB(skb)->csum = psum; in __skb_gro_checksum_validate_complete()