• 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: Quinn <email@hidden>
  • Date: Wed, 23 Aug 2006 13:17:33 +0100

At 23:00 -0700 21/8/06, Duane Murphy wrote:
The only "complication" is that opening a BPF or PF_NDRV socket requires
root access. There is a good example of how to transfer a socket from
one program to another so that your root tool only does one simple
action; open a socket and pass it back to the parent application.

The canonical sample for sending and receiving raw Ethernet packets is BSDLLCTest. This includes the descriptor passing stuff that Duane is referring to.


<http://developer.apple.com/samplecode/BSDLLCTest/index.html>

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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>)
 >Re: How to read/write raw ether packet in application? (From: "Justin C. Walker" <email@hidden>)
 >Re: How to read/write raw ether packet in application? (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Re: 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: Re: 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