Searched refs:ulp_offset (Results 1 – 1 of 1) sorted by relevance
175 const uint32_t ulp_offset = ip_hdr_offset + ip_hdr_sz; in mac_sw_cksum_ipv4() local190 ASSERT3U(MBLKL(mp), >=, (ulp_offset + sizeof (tcph_t))); in mac_sw_cksum_ipv4()191 if (MBLKL(mp) < (ulp_offset + sizeof (tcph_t))) { in mac_sw_cksum_ipv4()201 ASSERT3U(MBLKL(mp), >=, (ulp_offset + sizeof (udpha_t))); in mac_sw_cksum_ipv4()202 if (MBLKL(mp) < (ulp_offset + sizeof (udpha_t))) { in mac_sw_cksum_ipv4()214 ASSERT3U(MBLKL(mp), >=, (ulp_offset + sizeof (sctp_hdr_t))); in mac_sw_cksum_ipv4()215 if (MBLKL(mp) < (ulp_offset + sizeof (sctp_hdr_t))) { in mac_sw_cksum_ipv4()220 sctph = (sctp_hdr_t *)(mp->b_rptr + ulp_offset); in mac_sw_cksum_ipv4()222 sctph->sh_chksum = sctp_cksum(mp, ulp_offset); in mac_sw_cksum_ipv4()246 cksum = IP_CSUM(mp, ulp_offset, cksum); in mac_sw_cksum_ipv4()[all …]