This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Ethernet Link status question
- From: "Emmanuel Coullien" <coullien dot emmanuel at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 25 Sep 2007 15:37:39 +0200
- Subject: [ECOS] Ethernet Link status question
Hi,
I try to know what is the Ethernet link status from the application level.
I just would like to write a function like this : int
eth_link_state ("eth0"); which return 1 if the Ethernet is up.
I want to respect the different ecos layer to do this but I didn't
find any answer in the ecos-discuss history.
Do someone have an idea how to do this properly ?
Thank you for your response.
Emmanuel Coullien
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss