Searched refs:csum (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_mbuf.c | 755 u_int16_t *csum) 757 if (mbuf == NULL || length == 0 || csum == NULL || 761 *csum = inet_cksum(mbuf, protocol, offset, length); 768 u_int16_t *csum) 770 if (mbuf == NULL || length == 0 || csum == NULL || 774 *csum = inet6_cksum(mbuf, protocol, offset, length); 781 __unused u_int16_t *csum) 754 mbuf_inet_cksum(mbuf_t mbuf, int protocol, u_int32_t offset, u_int32_t length, u_int16_t *csum) argument 767 mbuf_inet6_cksum(mbuf_t mbuf, int protocol, u_int32_t offset, u_int32_t length, u_int16_t *csum) argument 779 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
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | kpi_mbuf.h | 1233 @param csum Pointer to the checksum variable; upon success, this 1239 u_int32_t length, u_int16_t *csum); 1262 @param csum Pointer to the checksum variable; upon success, this 1268 u_int32_t length, u_int16_t *csum);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_output.c | 1588 uint16_t csum; local 1590 csum = in6_cksum(m, 0, offset, m->m_pkthdr.len - offset); 1591 if (csum == 0 && (m->m_pkthdr.csum_flags & CSUM_UDPIPV6) != 0) { 1592 csum = 0xffff; 1596 if ((offset + sizeof(csum)) > m->m_len) { 1597 m_copyback(m, offset, sizeof(csum), &csum); 1599 *(uint16_t *)(void *)(mtod(m, char *) + offset) = csum; 1601 bcopy(&csum, (mtod(m, char *) + offset), sizeof (csum)); [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IONVRAM.cpp | 604 UInt8 cnt, isum, csum = 0; local 607 isum = csum + partitionHeader[cnt]; 608 if (isum < csum) isum++; 609 csum = isum; 612 return csum;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_output.c | 1973 u_short csum, offset, ip_len; local 2034 csum = in_cksum_skip(m, ip_len, offset); 2039 if (m0->m_pkthdr.csum_flags & CSUM_UDP && csum == 0) 2040 csum = 0xffff; 2062 *(u_short *)(void *)tmp = csum; 2065 *(u_short *)(void *)(m->m_data + offset + ip_offset) = csum; 2067 bcopy(&csum, (m->m_data + offset + ip_offset), sizeof (csum));
|
Completed in 38 milliseconds