• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mbuf retransmits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >mbuf retransmits (From: "Doug John" <email@hidden>)

  • Prev by Date: Re: Jabber libraries suitable for Cocoa apps?
  • Next by Date: Re: UDP support for NSStream
  • Previous by thread: mbuf retransmits
  • Next by thread: Jabber libraries suitable for Cocoa apps?
  • Index(es):
    • Date
    • Thread