• 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: NKEs on Intel-based Macs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NKEs on Intel-based Macs


  • Subject: Re: NKEs on Intel-based Macs
  • From: David A Rowland <email@hidden>
  • Date: Thu, 3 Aug 2006 13:56:23 -0700

Could you be more specific? "a few other may be.." is vague, and it would save time and mistakes to have it pinned down. Are the problems all on the Intel side? Inbound and outbound? I saw some odd looking ip lengths on my PPC/Mac.




The one big gotcha is that the stack swaps some fields in the ip header. We missed this, so if you write an IP filter, the ip length and a few other fields may be in host byte order instead of network byte order. Some other functions, such as those that calculate checksums, expect the data to be in network byte order. So...if you run in to some weirdness, check the byte order.


-josh

On Aug 3, 2006, at 6:41 AM, Peter Lovell wrote:

I'm about to convert an application for Intel-based Macs and would like
comments and suggestions about "gotchas", if any, with the transition.

There are the standard Xcode and little-endian things, of course. No
surprise there.

But are there other differences I need to look at? I'm working at the
socket level, not down with hardware, so I suspect that above many of
the differences.

Although we don't have kernel sources, I'd expect that the PPC kernel
code is the same as that for Intel and I can use PPC for reference. Can
someone at Apple comment if it's "close enough" for NKEs.

THanks.....Peter

 _______________________________________________
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



Attachment converted: Savitri:smime 19.p7s ( / ) (0041608F) _______________________________________________ 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
  • Follow-Ups:
    • Re: NKEs on Intel-based Macs
      • From: Josh Graessley <email@hidden>
References: 
 >NKEs on Intel-based Macs (From: "Peter Lovell" <email@hidden>)
 >Re: NKEs on Intel-based Macs (From: Josh Graessley <email@hidden>)

  • Prev by Date: Re(2): NKEs on Intel-based Macs
  • Next by Date: Re: NKEs on Intel-based Macs
  • Previous by thread: Re(2): NKEs on Intel-based Macs
  • Next by thread: Re: NKEs on Intel-based Macs
  • Index(es):
    • Date
    • Thread