• 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: Getting mbuf length
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting mbuf length


  • Subject: Re: Getting mbuf length
  • From: Mitchell Laurren-Ring <email@hidden>
  • Date: Wed, 19 Nov 2008 08:13:02 -0800


On Nov 15, 2008, at 6:01 PM, Vincent Lubet wrote:

This method you describe should just work -- mbuf_copydata() walks down the mbuf chain the same way the above code computes the length.

How do you know that you are not seeing the entire IP packet when you copy the mbuf? Is the more fragments flag set in the IP header?

Wireshark tells me that the packet is broken into two pieces. This particular packet is an HTTP request. I need to find the "Host:" part near the end and it doesn't show up in the first half of the packet.


Is the more fragments flag in the ip_off field?


-Mick


_______________________________________________ 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
  • Follow-Ups:
    • Re: Getting mbuf length
      • From: Vincent Lubet <email@hidden>
References: 
 >Getting mbuf length (From: Mitchell Laurren-Ring <email@hidden>)
 >Re: Getting mbuf length (From: Vincent Lubet <email@hidden>)

  • Prev by Date: Re: Getting mbuf length
  • Next by Date: Re: Getting mbuf length
  • Previous by thread: Re: Getting mbuf length
  • Next by thread: Re: Getting mbuf length
  • Index(es):
    • Date
    • Thread