This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Custom ioctl().


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]