[ECOS] Custom ioctl().

Andrew Lunn andrew@lunn.ch
Mon Jan 14 11:15:00 GMT 2008

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.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list