site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gPuO+2IPVvS6BgUBgAF7ViXsrX2M8NjtxLBgAzaBTIPyBhYKKwb4/nz74diIu2L4XP1QfomAJ58Cnt7g02fVyI0Efh0M3eBza+yjtvwn9kWNHEAna6F/AjiwInqJTH0bL+8u9cTi6jX+ez3qyR1uwPsyvb3xnPi8Dpck4qkKaoo= When calling mbuf_outbound_finalize() to compute the incomplete TCP/UDP checksums on the mbuf from my iff_output_func (interface filter output function), I kept getting messages from the kernel "cksum: out of data". Looking at the xnu-792.13.8 source, it looks like the underlying in_cksum_skip, called from in_delayed_cksum_offset, expects the ip_len field in the IP header to be in host-byte-order, while in reality the mbuf handed to my iff_output_func had the ip_len field in the IP header correctly populated in network-byte-order. What is my iff_output_func to do in such a situation? Thanks! -- Bhavesh P. Davda _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com