Home
last modified time | relevance | path

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

/external/android-clat/
Dchecksum.c136 uint16_t folded_old = ip_checksum_fold(old_hdr_sum); in ip_checksum_adjust() local
137 if (folded_sum > folded_old) { in ip_checksum_adjust()
138 return ~(folded_sum - folded_old); in ip_checksum_adjust()
140 return ~(folded_sum - folded_old - 1); // end-around borrow in ip_checksum_adjust()