/freebsd-current/contrib/file/src/ |
H A D | tar.h | 60 char chksum[8]; member in struct:record::header
|
H A D | is_tar.c | 123 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); 131 /* Adjust checksum to count the "chksum" field as blanks. */ 132 for (i = 0; i < sizeof(header->header.chksum); i++) 133 sum -= header->header.chksum[i]; 134 sum += ' ' * sizeof(header->header.chksum);
|
/freebsd-current/contrib/arm-optimized-routines/networking/ |
H A D | Dir.mk | 25 build/bin/test/chksum 64 $(EMULATOR) build/bin/test/chksum -i simple 65 $(EMULATOR) build/bin/test/chksum -i scalar 66 $(EMULATOR) build/bin/test/chksum -i simd || true # simd is not always available
|
/freebsd-current/bin/pax/ |
H A D | tar.h | 95 char chksum[CHK_LEN]; /* checksum */ member in struct:__anon10 134 char chksum[CHK_LEN]; /* checksum */ member in struct:__anon11
|
H A D | tar.c | 310 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) 617 if (ul_oct(tar_chksm((char *)&hdblk, sizeof(HD_TAR)), hd->chksum, 618 sizeof(hd->chksum), 3)) 697 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) 1015 if (ul_oct(tar_chksm((char *)&hdblk, sizeof(HD_USTAR)), hd->chksum, 1016 sizeof(hd->chksum), 3))
|
/freebsd-current/sys/fs/msdosfs/ |
H A D | direntry.h | 155 int chksum, struct msdosfsmount *pmp); 157 int chksum, struct msdosfsmount *pmp); 158 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
|
H A D | msdosfs_lookup.c | 164 int chksum = -1, chksum_ok; local 278 chksum = -1; 304 chksum = win2unixfn(&nb, 305 (struct winentry *)dep, chksum, 310 chksum = winChkName(&nb, 312 chksum, pmp); 313 if (chksum == -2) { 314 chksum = -1; 323 chksum = -1; 330 chksum_ok = (chksum 694 uint8_t chksum = winChksum(ndep->deName); local [all...] |
H A D | msdosfs_conv.c | 519 int chksum, struct msdosfsmount *pmp) 543 wep->weChksum = chksum; 582 winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, int chksum, argument 621 return chksum; 629 win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum, argument 646 chksum = wep->weChksum; 647 } else if (chksum != wep->weChksum) 648 chksum = -1; 649 if (chksum == -1) 664 return chksum; 518 unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, int chksum, struct msdosfsmount *pmp) argument [all...] |
H A D | msdosfs_vnops.c | 1526 int chksum = -1; local 1664 chksum = -1; 1675 chksum = win2unixfn(&nb, 1676 (struct winentry *)dentp, chksum, pmp); 1684 chksum = -1; 1713 if (chksum != winChksum(dentp->deName)) { 1723 chksum = -1;
|
/freebsd-current/usr.sbin/makefs/msdos/ |
H A D | direntry.h | 139 int chksum); 141 int chksum);
|
H A D | msdosfs_vnops.c | 163 int chksum = -1, chksum_ok; local 236 chksum = -1; 261 chksum = winChkName( 264 (struct winentry *)dep, chksum); 273 chksum = -1; 280 chksum_ok = (chksum == winChksum(dep->deName)); 283 chksum = -1;
|
H A D | msdosfs_lookup.c | 137 uint8_t chksum = winChksum(ndep->deName); local 166 cnt++, chksum))
|
/freebsd-current/sys/contrib/dev/rtw88/ |
H A D | tx.h | 118 __le16 chksum = 0; local 125 chksum ^= *data++; 127 le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum),
|
/freebsd-current/tests/sys/netinet6/frag6/ |
H A D | frag6_16.py | 104 sp.UDP(dport=3456, sport=6543, len=ip6fd.len, chksum=ip6fd.chksum) / \
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | ipsend.h | 31 extern u_short chksum(u_short *, int);
|
H A D | ip.c | 30 chksum(u_short *buf, int len) function 135 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 208 ip->ip_sum = chksum((u_short *)ip, hlen); 275 t2->th_sum = chksum((u_short *)ip2, thlen + sizeof(ip_t)); 304 ti->ti_sum = chksum((u_short *)ti, thlen + sizeof(ip_t)); 323 ic->icmp_cksum = chksum((u_short *)ic, sizeof(struct icmp));
|
H A D | resend.c | 114 ip->ip_sum = chksum((u_short *)ip,
|
H A D | iptests.c | 199 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 211 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 230 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 242 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
|
H A D | ipsend.c | 157 udp->uh_sum = chksum((u_short *)udp, len);
|
/freebsd-current/usr.sbin/fstyp/ |
H A D | exfat.c | 327 uint32_t chksum; local 344 bytespersec, &chksum); 355 if (chksum != le32toh(cksect[0])) { 357 le32toh(cksect[0]), chksum);
|
/freebsd-current/tests/sys/netpfil/common/ |
H A D | pft_ping.py | 156 chksum = ip.chksum 157 ip.chksum = None 158 new_chksum = sp.IP(sp.raw(ip)).chksum 159 if chksum != new_chksum: 160 LOGGER.debug(f'Expected IP checksum {new_chksum} but found {chksum}') 304 chksum = tcp.chksum 305 tcp.chksum = None 307 new_chksum = newpacket[sp.TCP].chksum [all...] |
/freebsd-current/sys/dev/ppbus/ |
H A D | if_plip.c | 686 u_char chksum = 0; local 731 chksum += i; 738 chksum += 0x08 + 0x00; /* Add into checksum */ 745 chksum += *cp; 752 if (clpoutbyte(chksum, LPMAXSPIN2, ppbus))
|
/freebsd-current/sbin/md5/ |
H A D | md5.c | 292 char *chksum; member in struct:chksumrec 377 rec->chksum = strdup(hashstr); 378 if (rec->chksum == NULL || rec->filename == NULL) 620 checkAgainst = rec->chksum;
|
/freebsd-current/sys/dev/usb/wlan/ |
H A D | if_upgtvar.h | 163 uint32_t chksum; member in struct:upgt_lmac_mem
|
H A D | if_upgt.c | 425 mem->chksum = upgt_chksum_le((uint32_t *)stats, 543 mem->chksum = upgt_chksum_le((uint32_t *)led, 672 mem->chksum = upgt_chksum_le((uint32_t *)filter, 940 mem->chksum = upgt_chksum_le((uint32_t *)chan, 1311 mem->chksum = upgt_chksum_le((uint32_t *)eeprom, 2178 mem->chksum = upgt_chksum_le((uint32_t *)txdesc, len - sizeof(*mem));
|