Home
last modified time | relevance | path

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

/external/tcpdump/
Din_cksum.c54 #define ADDCARRY(x) {if ((x) > 65535) (x) -= 65535;} macro
55 #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()