1 2 3 4 5
#include <stdarg.h> #include <stdint.h> #include <stdlib.h> uint16_t csum_partial(const void *buff, int len, uint16_t wsum);