• 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: equivalent of sockaddr_ll? or raw packets w/no header?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: equivalent of sockaddr_ll? or raw packets w/no header?


  • Subject: Re: equivalent of sockaddr_ll? or raw packets w/no header?
  • From: "Justin C. Walker" <email@hidden>
  • Date: Wed, 27 Aug 2003 21:52:54 -0700

On Wednesday, August 27, 2003, at 09:43 PM, Roy Lovejoy wrote:

I'm porting some linux code that drives a hardware device via low-level ethernet frames.

What's the moral equivalent to sockaddr_ll on OSX??

I think what you want is BPF (cf 'man bpf' and 'man libpcap'). There is a 'sockaddr_dl' on BSD-derived systems, used in "read-only" mode, but there is no AF_PACKET.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >equivalent of sockaddr_ll? or raw packets w/no header? (From: Roy Lovejoy <email@hidden>)

  • Prev by Date: equivalent of sockaddr_ll? or raw packets w/no header?
  • Next by Date: Re: equivalent of sockaddr_ll? or raw packets w/no header?
  • Previous by thread: equivalent of sockaddr_ll? or raw packets w/no header?
  • Next by thread: Re: equivalent of sockaddr_ll? or raw packets w/no header?
  • Index(es):
    • Date
    • Thread