• 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: Josh Graessley <email@hidden>
  • Date: Thu, 3 Aug 2006 09:48:15 -0700


The KPIs are the same. The kernel sources are similar.

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:
40apple.com


This email sent to email@hidden

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

 _______________________________________________
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: David A Rowland <email@hidden>
    • Re: NKEs on Intel-based Macs
      • From: Stephane Sudre <email@hidden>
    • Re: NKEs on Intel-based Macs
      • From: David A Rowland <email@hidden>
    • Re(2): NKEs on Intel-based Macs
      • From: "Peter Lovell" <email@hidden>
    • Re: NKEs on Intel-based Macs
      • From: David A Rowland <email@hidden>
References: 
 >NKEs on Intel-based Macs (From: "Peter Lovell" <email@hidden>)

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