Searched defs:checksum (Results 76 - 96 of 96) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe.h252 int checksum; member in struct:_BnxeDevParams
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c4500 checksum(Elf *elf) function
5296 checksum(elf);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c161 * the checksum cs. If found, return the block's reference info
305 /* use the recalculated checksum */
356 * Use the existing checksum if it's dedup-capable,
357 * else calculate a SHA256 checksum for it.
1487 unsigned long long checksum, packed_len; local
1491 * <token version>-<checksum of payload>-<uncompressed payload length>
1495 &version, &checksum, &packed_len);
1524 /* verify checksum */
1527 if (cksum.zc_word[0] != checksum) {
1530 "resume token is corrupt (incorrect checksum)"));
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h304 #define KDC_ERR_SUMTYPE_NOSUPP 15 /* No support for checksum type */
348 /* checksum in message */
1722 krb5_checksum *checksum; /* data integrity checksum */ member in struct:_krb5_safe
H A Dkrb5.h434 krb5_cksumtype checksum_type; /* checksum type */
1096 krb5_checksum *checksum; /* checksum, includes type, optional */ member in struct:_krb5_authenticator
1323 /* type of function used as a callback to generate checksum data for
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c118 * rec_crcgen generates a crc checksum for a record block
119 * rec_crcchk checks the crc checksum for a record block
235 * Used to skip these fields when calculating the checksum.
323 * Used to skip these fields when calculating the checksum.
379 * Used to skip these fields when calculating the checksum.
407 * Calculate or check the checksum for a record
414 * checksum for same record block causing the exclusive-or of all record block
433 * the checksum.
982 * Get free area to store device id from free list. Update checksum
2016 uint_t checksum; local
3088 uint_t checksum; local
9961 uint_t checksum; local
[all...]
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c344 * TCP/UDP checksum is calculated incorrectly on mblk chains with more
2335 * fix checksum by subtracting 4 bytes after what the
2369 * IPv6 headers do not contain a checksum, and hence
2370 * do not checksum to zero, so they don't "fall out"
2371 * of the partial checksum calculation like IPv4
2372 * headers do. We need to fix the partial checksum by
2373 * subtracting the checksum of the IPv6 header.
2610 uint16_t checksum; local
2626 checksum = ntohs(rx_done->entry[rx_done->idx].checksum);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c427 char type[80], checksum[80], compress[80]; local
439 "ZIO_CHECKSUM_", sizeof (checksum), checksum) == -1 ||
447 checksum, compress);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c47 * (4) Every time we open a dataset, we change its checksum and compression
49 * in which checksum they use and whether they're compressed.
3654 /* This accounts for setting the checksum/compression. */
5051 enum zio_checksum checksum = spa_dedup_checksum(spa); local
5072 if (ztest_dsl_prop_set_uint64(zd->zd_name, ZFS_PROP_DEDUP, checksum,
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c1439 * cksum: Calculate the simple checksum of a file (CRC) or header
1441 * the checksum is calculated. For -i and the CRC header, the checksum
1444 * the simple checksum of the header (with the checksum field of the
1453 long checksum = 0L, have; local
1460 if (Args & OCi) { /* do running checksum */
1463 checksum += (long)*crc_p;
1466 /* OCo - do checksum of file */
1473 msg(ERR, "Error computing checksum
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c8848 u8 i, checksum = 0; local
8850 checksum += sfp_a2_buf[i];
8851 if (checksum == sfp_a2_buf[ELINK_SFP_EEPROM_A2_CC_DMI_ADDR])
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_menlo.h1194 uint32_t checksum_offset; /* Byte offset to image checksum */
1210 uint32_t checksum; /* 32bit XOR checksum -- needs to be at the end */ member in struct:menlo_version_hdr
H A Demlxs_hw.h2252 uint32_t checksum; member in struct:emlxs_be3_image_header
2262 uint32_t checksum; member in struct:emlxs_be3_ufi_header
2282 uint32_t checksum; member in struct:emlxs_be3_flash_header
2298 uint32_t checksum; member in struct:emlxs_be3_flash_entry
2347 uint32_t checksum; member in struct:emlxs_be2_ufi_header
2361 uint32_t checksum; member in struct:emlxs_be2_flash_header
2382 uint32_t checksum; member in struct:emlxs_be2_flash_entry
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c470 static int checksum(union hblock *dblockp);
1499 * it as a directory. The checksum must match properly.
1584 if (chksum != checksum(&dblock)) {
1587 "tar: directory checksum error\n"));
1597 "tar: warning: tar file made with signed checksum\n"));
1602 if (chksum != checksum(&dblock)) {
1604 "tar: directory checksum error\n"));
2114 * need to recalculate checksum
2118 "%07o", checksum(&dblock));
2141 checksum(
4682 checksum(union hblock *dblockp) function
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.h525 uint16_t checksum; member in struct:base_eep_header
554 uint16_t checksum; member in struct:base_eep_header_4k
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c2202 mDNSOpaque16 checksum; local
2291 checksum.NotAnInteger = ~IPv6CheckSum(spa, v6dst, 0x3A, &m->omsg.data[0x36], m->omsg.data[0x13]);
2292 m->omsg.data[0x38] = checksum.b[0];
2293 m->omsg.data[0x39] = checksum.b[1];
14031 mDNSu16 checksum = IPv6CheckSum(&src->ip.v6, &dst->ip.v6, protocol, t->bytes, len); local
14032 if (!checksum) mDNSCoreReceiveRawND(m, sha, &src->ip.v6, &t->ndp, &t->bytes[len], InterfaceID);
14033 else LogInfo("IPv6CheckSum bad %04X %02X%02X from %#a to %#a", checksum, t->bytes[2], t->bytes[3], src, dst);
H A DmDNSEmbeddedAPI.h563 mDNSu16 checksum; variable
603 mDNSu16 checksum; variable
620 mDNSu16 checksum; variable
627 mDNSu16 checksum; variable
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_hw.h383 __le16 csum; /* Packet checksum */
476 u8 ipcss; /* IP checksum start */
477 u8 ipcso; /* IP checksum offset */
478 __le16 ipcse; /* IP checksum end */
484 u8 tucss; /* TCP checksum start */
485 u8 tucso; /* TCP checksum offset */
486 __le16 tucse; /* TCP checksum end */
650 u8 checksum; member in struct:e1000_host_mng_dhcp_cookie
658 u8 checksum; member in struct:e1000_host_command_header
670 u8 checksum; member in struct:e1000_host_mng_command_header
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h2609 uint32_t checksum :16; member in struct:hermon_hw_cqe_s
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge_hw.h1428 uint16_t checksum; member in struct:ql_dump_image_header
1564 #define MBC_VERIFY_CHECKSUM 7 /* Verify checksum. */
2035 #define OB_MAC_IOCB_REQ_TC 0x80 /* enable TCP checksum offload */
2036 #define OB_MAC_IOCB_REQ_UC 0x40 /* enable UDP checksum offload */
2042 #define OB_MAC_IOCB_REQ_IC 0x01 /* enable IP checksum offload */
2086 #define IB_MAC_IOCB_RSP_NU 0x08 /* No checksum rcvd */
2087 #define IB_MAC_IOCB_RSP_IE 0x10 /* IPv4 checksum error */
2371 uint16_t checksum; member in struct:ql_fltds
2379 uint16_t checksum; member in struct:ql_iltds_header
2439 uint16_t checksum; member in struct:ql_flt_header
2480 uint16_t checksum; member in struct:ql_nic_config
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_type.h1727 #define IXGBE_RXCSUM_IPPCSE 0x00001000 /* IP payload checksum enable */
1728 #define IXGBE_RXCSUM_PCSD 0x00002000 /* packet checksum disabled */
2515 #define IXGBE_TXD_POPTS_IXSM 0x01 /* Insert IP checksum */
2516 #define IXGBE_TXD_POPTS_TXSM 0x02 /* Insert TCP/UDP checksum */
2553 #define IXGBE_RXD_STAT_UDPV 0x400 /* Valid UDP checksum */
2914 #define FW_DEFAULT_CHECKSUM 0xFF /* checksum always 0xFF */
2934 u8 checksum; member in struct:ixgbe_hic_hdr
2941 u8 checksum; member in struct:ixgbe_hic_hdr2_req
2948 u8 checksum; member in struct:ixgbe_hic_hdr2_rsp
3048 __le16 csum; /* Packet checksum */
[all...]

Completed in 403 milliseconds

1234