This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
again on raw ethernet packets
- From: Michele Paselli <miguelon at tiscali dot it>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 20 Jun 2007 15:11:54 +0200 (CEST)
- Subject: [ECOS] again on raw ethernet packets
- Reply-to: Michele Paselli <miguelon at tiscali dot it>
- Xoriginalsenderip: 194.171.252.108
Hi all,
I need to build a radio link between 2 ethernet switches and I
therefore need to be able to receive eth packets that are ment for
other eth nodes (I think this is called promiscuos mode) and send them
(on the other side of the radio link) with the original MAC address.
I've already spent time in looking at this forum and I found few
informations. As far as I understood eCos does not implemet directly a
bunch of APIs for raw networking but someone mentioned the functions
cyg_ethernet_output() and cyg_ethernet_output_frame(). I then have a
couple of questions, first, what is the difference between the two?
Second, am I able to call them from the application? Has anybody tried
to use them before? If yes, could you send me the piece of the
application in which you use them? Thanks a lot for the help.
Michele
_________________________________________________________
Naviga e telefona senza limiti con Tiscali
Scopri le promozioni Tiscali Adsl: navighi e telefoni senza canone Telecom
http://abbonati.tiscali.it/adsl/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss