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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kEYLsRQy9jB9V7cijXxQzO0YXpiuirUBPSVJxIKFo6bt2tZ2nyrPkKBFzrMFs9rt0oMIFGIKkmG41/MJ73mwYK1nCarD28eiYtzRYRaSTnVp7TiMliQ2YqLsvr9dRztaskWo/oaipxEOTtWwlm5iWi6k10KhX6O9/sYrBRkwL3Y= On 8/5/05, Josh Graessley <jgraessley@apple.com> wrote:
If you're going to modify the packet, you should modify the checksum appropriately. If you choose to recalculate the checksum entirely, you should verify the original checksum is correct before making any modifications to the packet. Once the checksum has been updated, call mbuf_inbound_modified to flush the invalid hardware checksum flags.
-josh
Are there any API's provided to do this, or do I need to write my own checksum functions? - Frank _______________________________________________ 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