Home
last modified time | relevance | path

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

/include/net/
Dchecksum.h65 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() function
131 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4()
149 *csum = csum_add(csum_sub(*csum, old), new); in csum_replace()
176 csum = csum_sub(csum, csum_partial(ptr, start, 0)); in remcsum_adjust()
179 delta = csum_sub((__force __wsum)csum_fold(csum), in remcsum_adjust()
188 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()
Dinet_ecn.h145 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ce()
161 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ect1()