• 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: How to read/write raw ether packet in application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read/write raw ether packet in application?


  • Subject: Re: How to read/write raw ether packet in application?
  • From: David A Rowland <email@hidden>
  • Date: Mon, 21 Aug 2006 21:44:47 -0700

Title: Re: How to read/write raw ether packet in application?
At 11:06 AM +0800 8/22/06, Robin wrote:
Hi , all
 
    Is there any way to read/write raw ethernet(802.3) data packets in user application layer on OSX ?
   
    We have developed a tartget embended platform with Linux, and  we want to communicate with it by ethernet port, I think we can run a Carbon application in our iMac host to do this, is it possible? Or we need write a application/kext pair to realize it?
 
    Any suggestion is grateful, thanks a lot.

Layers allow each part of the communications stack to do its portion of the job in a well-defined way, isolated from the other layers. Sadly, there is a certain amount of layer breaking, and some of it is unavoidable, but it sounds like you want to do a massive change to the structure and intent of the stack. I suspect that you would have to make so many kludges at every level that doing it the right way would be vastly easier.

The right way is probably done as an interface filter. See the "enetlognke" example code, build it and run it, and you will see that it is not so daunting.

David
 _______________________________________________
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: 
 >How to read/write raw ether packet in application? (From: "Robin" <email@hidden>)

  • Prev by Date: How to read/write raw ether packet in application?
  • Next by Date: Re: How to read/write raw ether packet in application?
  • Previous by thread: How to read/write raw ether packet in application?
  • Next by thread: Re: How to read/write raw ether packet in application?
  • Index(es):
    • Date
    • Thread