summaryrefslogtreecommitdiff
path: root/epan/in_cksum.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2011-06-16Attempt to squelch some compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=37677
2011-04-22We deal with pointer alignment ourselves, so we ensure the casts areGuy Harris1-3/+3
safe. Tell the compiler so. svn path=/trunk/; revision=36796
2011-01-19Add a note to the top about r35589's change of the ADDCARRY(x) macro.Stephen Fisher1-1/+2
svn path=/trunk/; revision=35592
2011-01-19Change the ADDCARRY(x) macro to eliminate clang warning about unusedStephen Fisher1-1/+1
result from the ADDCARRY portion of the REDUCE macro. -#define ADDCARRY(x) (x > 65535 ? x -= 65535 : x) +#define ADDCARRY(x) {if ((x) > 65535) (x) -= 65535;} The new code is from in_cksum.c in the Tahoe/CGI port of 4.4BSD-Lite2 (we're using the "Portable Version" copy otherwise). svn path=/trunk/; revision=35589
2004-09-28Move various checksum routines and headers to epan.Guy Harris1-0/+201
svn path=/trunk/; revision=12117