Home
last modified time | relevance | path

Searched refs:hsum (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/external/bsd/libarchive/dist/libarchive/
Darchive_read_support_format_warc.c465 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/
Di82557.c1307 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/
Djupiter.h55 u_short hsum; /* header cksum */ member
Drefclock_jupiter.c808 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/
Dmaple66 # like hsum.hdb
Ddatabase576 # skip Maple help database hsum.hdb checking for valid reserved area