Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- Subject: Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- From: Andrew Gallatin <email@hidden>
- Date: Wed, 20 Jul 2005 10:09:47 -0400 (EDT)
Karunakar Reddy G writes:
> Hello,
> I am also facing problem with "ether_header " structure
> I define in this way which works fine on Mac 10.1.3 but not on Mac 10.4
> struct ether_header *hdr;
> hdr = mtod(m, struct ether_header *);
> It doesnt compile gives error ,
What error message?
Its probably the just that you need the mbuf kpi again.
> Any body know , how to use 'ether_header' structures on Mac 10.4
> thanx in advance
I use
struct ether_header *eh;
eh = (struct ether_header *) mbuf_data(m);
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden