Searched refs:hsum (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_read_support_format_warc.c | 465 unsigned int hsum; in xmemmem() local 484 for (hp = hay + 1U, np = needle + 1U, hsum = *hay, nsum = *hay, eqp = 1U; in xmemmem() 486 hsum ^= *hp, nsum ^= *np, eqp &= *hp == *np, hp++, np++); in xmemmem() 500 hsum ^= *cand++; in xmemmem() 501 hsum ^= *hp; in xmemmem() 507 if (hsum == nsum && memcmp(cand, needle, needlesize - 1U) == 0) { in xmemmem()
|
| /netbsd/src/sys/dev/ic/ |
| D | i82557.c | 1307 uint32_t hsum; in fxp_rx_hwcksum() 1309 hsum = 0; in fxp_rx_hwcksum() 1313 hsum += ntohs(*iphdr++); in fxp_rx_hwcksum() 1316 while (hsum >> 16) in fxp_rx_hwcksum() 1317 hsum = (hsum >> 16) + (hsum & 0xffff); in fxp_rx_hwcksum() 1319 csum_data += (uint16_t)~hsum; in fxp_rx_hwcksum()
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | jupiter.h | 55 u_short hsum; /* header cksum */ member
|
| D | refclock_jupiter.c | 808 hp->hsum = putshort(jupiter_cksum((u_short *)hp, in jupiter_send() 1003 getshort(hp->hsum)) { in jupiter_recv()
|
| /netbsd/src/external/bsd/file/dist/magic/magdir/ |
| D | maple | 66 # like hsum.hdb
|
| D | database | 576 # skip Maple help database hsum.hdb checking for valid reserved area
|