site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 28, 2005, at 15:07 , Josh Graessley wrote: Cheers, Justin -- Justin C. Walker, Curmudgeon-at-Large /~\ The ASCII \ / Ribbon Campaign X Help Cure HTML Email / \ _______________________________________________ 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... On Jun 28, 2005, at 2:37 PM, Justin C. Walker wrote: [snip] As Justin noted, the rcvif is ignored for the outbound path, hence the name receive if. This will usually be NULL on the outbound path. If you go to inject a packet inbound, you will need to set the rcvif to something as well as fiddle with the packet to get it in the right state. Thanks, Josh. I had this concern in the back of my head that rcvif might be used on the outbound path for something other than the "interface the packet was received on" (something in ipsec code maybe). In any case, you (Carl) should preserve the value you find in the mbuf that you are going to copy, just to be on the safe side. I don't think that there is a timing problem lurking in there, but reviewing the kernel code in this area can't hurt. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin C. Walker