• 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_outbound_finalize bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mbuf_outbound_finalize bug?


  • Subject: Re: mbuf_outbound_finalize bug?
  • From: Josh Graessley <email@hidden>
  • Date: Tue, 2 Jan 2007 10:22:46 -0800


I think I got those backwards. IP header checksum calculation is expecting network byte order and TCP/UDP checksum is expecting host byte order.


-josh

On Jan 2, 2007, at 10:19 AM, Josh Graessley wrote:

If I remember correctly, the mbuf_outbound_finalize code is entirely broken because it calls a function to calculate the ip header where it is expecting the ip header to be in host byte order and it calls a function to calculate the TCP/UDP header where it expected the ip_len field to be in network byte order. The TCP/UDP is the trickier part to generate.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: mbuf_outbound_finalize bug? (From: Terry Lambert <email@hidden>)
 >Re: mbuf_outbound_finalize bug? (From: Josh Graessley <email@hidden>)
 >Re: mbuf_outbound_finalize bug? (From: "Bhavesh Davda" <email@hidden>)
 >Re: mbuf_outbound_finalize bug? (From: Josh Graessley <email@hidden>)

  • Prev by Date: Re: mbuf_outbound_finalize bug?
  • Next by Date: TSO / LSO
  • Previous by thread: Re: mbuf_outbound_finalize bug?
  • Next by thread: Re: mbuf_outbound_finalize bug?
  • Index(es):
    • Date
    • Thread