This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Custom ioctl().
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Antoine Zen-Ruffinen <antoine dot zen at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 14 Jan 2008 12:14:40 +0100
- Subject: Re: [ECOS] Custom ioctl().
- References: <2cbbd8de0801140154u260751d3n2a88b6c5072908ae@mail.gmail.com>
On Mon, Jan 14, 2008 at 10:54:57AM +0100, Antoine Zen-Ruffinen wrote:
> Hello,
>
> For my project, I need Ethernet frame timestamps. Usually I do this
> under linux: ioctl(sock, SIOCGSTAMP, &timeStamp). But SIOCGSTAMP is
> not implemented in eCos.
The TCP/IP stack in eCos is from FreeBSD. I would suggest you look at
how FreeBSD supports getting such time stamps. That is probably how
you will need to implement it in eCos.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss