Searched refs:checksum_var (Results 1 – 1 of 1) sorted by relevance
110 unsigned long checksum_var = 0; in calc_checksum() local117 checksum_var = checksum_var + *(unsigned short *)buf; in calc_checksum()120 if (checksum_var >> 16) in calc_checksum()121 checksum_var = (checksum_var & 0x0000ffff) + 1; in calc_checksum()124 return checksum_var; in calc_checksum()