Re: equivalent of sockaddr_ll? or raw packets w/no header?
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.