Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dcksum.c44 #define ADDCARRY(x) (x > 65535 ? x -= 65535 : x) macro
45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
/external/qemu/slirp/
Dcksum.c44 #define ADDCARRY(x) (x > 65535 ? x -= 65535 : x) macro
45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
/external/tcpdump/
Din_cksum.c53 #define ADDCARRY(x) {if ((x) > 65535) (x) -= 65535;} macro
54 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
/external/iputils/
Dclockdiff.c40 #undef ADDCARRY
41 #define ADDCARRY(sum) { \ macro
69 ADDCARRY(sum); in in_cksum()
82 ADDCARRY(sum); in in_cksum()