AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070517141436.63ca7fe3@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<richard.beck@onstor.com>,<larry.scheer@onstor.com>,<maxim.kozlovsky@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E031D885C@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 17 May 2007 14:14:42 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Richard Beck" <richard.beck@onstor.com>
Cc: Larry Scheer <larry.scheer@onstor.com>, "Maxim Kozlovsky"
 <maxim.kozlovsky@onstor.com>
Subject: Re: Header files for neteee - Found Them
Message-ID: <20070517141442.40bd04c8@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E031D885C@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E031D885B@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E031D885C@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

We should have a kernel header file that defines these values which is
then "installed" in user space under /usr/include/linux or wherever
kernel header files for userspace get installed.  In bsd land, we
crassly modified standard C library header files and added these
defines, but we aren't doing that this time.  So it may be that a
header file that you already have fits that bill, or you may need to
create a new one, possibly quite small, that contains these
definitions.  In either case, it needs to be able to be included by
user space programs and the kernel neteee code and still work, so if
some parts are kernel only, you can always protect them with=20

#ifdef __KERNEL__
#endif

as per usual.  The new-possibly-smaller file idea is meant to work
around any such problem by only defining the necessary things that both
kernel and userspace programs need to agree on.

You don't have to implement the part that "installs" the header file.
That's just a makefile thing that Larry can probably handle, so you
would just need to identify the file for Larry.  Currently, I think we
have some workarounds in place to deal with this.

Cheers,

a

On Thu, 17 May 2007 13:31:25 -0700 "Richard Beck"
<richard.beck@onstor.com> wrote:

> Found them in .old
> --rb
>=20
> _____________________________________________
> From: Richard Beck=20
> Sent: Thursday, May 17, 2007 11:59 AM
> To: Andy Sharp
> Cc: Maxim Kozlovsky
> Subject: Header files for neteee
>=20
> Larry said that some of my old header files are being used to resolve
> AF_EEE, etc. and he thought one of you would know where they are.
> I've been modifying some other headers, but realize that we should
> stay in sync on this.  One example is socket.h, but there are =C2=BD dozen
> others. Does either of you know where those headers are? Thanks, Rich
