Re: Which header file(s) define 'ether_header' and 'ether_header_t'
Re: Which header file(s) define 'ether_header' and 'ether_header_t'
- Subject: Re: Which header file(s) define 'ether_header' and 'ether_header_t'
- From: Joshua Graessley <email@hidden>
- Date: Tue, 1 Apr 2003 11:52:17 -0800
On Tuesday, Apr 1, 2003, at 11:22 US/Pacific, Justin Walker wrote:
On Tuesday, Apr 1, 2003, at 10:23 US/Pacific, Michael Birdsong wrote:
I have run into an issue in building an NKE after a few months of NOT
compiling this particular project.
In the latest version of Mac OS X (after 10.1.5) it seems the
definitions for
the structures: "ether_header" and "ether_header_t" have been moved
from their old header file locations, I'm throwing compile errors.
On my system (10.2.4) the structure is defined in <net/ethernet.h>.
There is also a different definition in the kernel tree
(xnu/bsd/netinet/ip_compat.h). I'd use the former.
FWIW, it does not seem to have moved.
Michael isn't exactly imagining things. We removed a header between
10.1.x and 10.2. While merging in changes from the FreeBSD 4.4 stack to
our own, we noticed a few extra files (NeXTisms). One of those NeXTisms
was a header that contained nearly identical definitions to what was in
net/ethernet.h. We simply eliminated the NeXTism in 10.2 in an attempt
to clean up and simplify things a bit.
-josh
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.