Searched refs:csum (Results 1 - 7 of 7) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_byte_order.h | 57 void byte_swap_csum(struct csum *);
|
H A D | ufs_byte_order.c | 146 byte_swap_csum(struct csum *cs) 148 byte_swap_ints((int *) cs, sizeof(struct csum) / sizeof(int32_t));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | fs.h | 146 * of pointers to blocks of struct csum; now there are just three 150 * is taken away to point to a contiguous array of struct csum for 198 struct csum { struct 240 int32_t fs_csmask; /* csum block offset (now unused) */ 241 int32_t fs_csshift; /* csum block number (now unused) */ 268 struct csum fs_cstotal; /* cylinder summary information */ 279 struct csum *fs_csp; /* list of fs_cs info buffers */ 352 * N.B. This macro assumes that sizeof(struct csum) is a power of two. 368 struct csum cg_cs; /* cylinder summary information */ 425 struct csum cg_c [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kpi_mbuf.c | 691 u_int16_t *csum) 693 if (mbuf == NULL || length == 0 || csum == NULL || 697 *csum = inet_cksum(mbuf, protocol, offset, length); 704 u_int16_t *csum) 706 if (mbuf == NULL || length == 0 || csum == NULL || 710 *csum = inet6_cksum(mbuf, protocol, offset, length); 717 __unused u_int16_t *csum) 690 mbuf_inet_cksum(mbuf_t mbuf, int protocol, u_int32_t offset, u_int32_t length, u_int16_t *csum) argument 703 mbuf_inet6_cksum(mbuf_t mbuf, int protocol, u_int32_t offset, u_int32_t length, u_int16_t *csum) argument 715 mbuf_inet6_cksum(__unused mbuf_t mbuf, __unused int protocol, __unused u_int32_t offset, __unused u_int32_t length, __unused u_int16_t *csum) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kpi_mbuf.h | 1155 @param csum Pointer to the checksum variable; upon success, this 1161 u_int32_t length, u_int16_t *csum); 1184 @param csum Pointer to the checksum variable; upon success, this 1190 u_int32_t length, u_int16_t *csum);
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IONVRAM.cpp | 584 UInt8 cnt, isum, csum = 0; local 587 isum = csum + partitionHeader[cnt]; 588 if (isum < csum) isum++; 589 csum = isum; 592 return csum;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_output.c | 1649 u_short csum, offset, ip_len; local 1702 csum = in_cksum_skip(m, ip_len, offset); 1707 if (m0->m_pkthdr.csum_flags & CSUM_UDP && csum == 0) 1708 csum = 0xffff; 1730 *(u_short *)tmp = csum; 1733 *(u_short *)(m->m_data + offset + ip_offset) = csum;
|
Completed in 157 milliseconds