Searched refs:chksm (Results 1 – 3 of 3) sorted by relevance
252 u_long chksm = BLNKSUM; /* initial value is checksum field sum */ in tar_chksm() local260 chksm += (u_long)(*pt++ & 0xff); in tar_chksm()271 chksm += (u_long)(*pt++ & 0xff); in tar_chksm()272 return(chksm); in tar_chksm()
389 u_int16_t chksm; member
2184 READ_TOKEN_BYTES(buf, len, &tok->tt.ip.chksm, sizeof(uint16_t), in fetch_ip_tok()2231 print_2_bytes(fp, ntohs(tok->tt.ip.chksm), "%u"); in print_ip_tok()2257 print_2_bytes(fp, ntohs(tok->tt.ip.chksm), "%u"); in print_ip_tok()