Re: mbuf retransmits
Re: mbuf retransmits
- Subject: Re: mbuf retransmits
- From: Josh Graessley <email@hidden>
- Date: Mon, 04 Aug 2008 11:06:33 -0700
You need to make a copy of the mbuf with mbuf_copy or mbuf_dup. I
can't recall the details but that should get you started. At least one
of them doesn't actually duplicate the data from external clusters.
-josh
On Aug 3, 2008, at 10:38 AM, Doug John wrote:
Hi,
My NKE injects packets using the ifnet_output_raw function. I need
to handle the situation where the network drops the packet and I
need to re-transmit the mbuf. Is it possible to have
ifnet_output_raw NOT free the mbuf packet, maybe using some retain
flag or something? I'm trying to avoid copying mbufs just for this
purpose.
Thanks,
DJ
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden