Ethernet (Raw)

Erwin Rol erwin at muffin.org
Tue Mar 25 17:09:09 UTC 2003


On Tue, 2003-03-25 at 17:58, Smith, Gene wrote:
> > -----Original Message-----
> > From: Erwin Rol [mailto:Erwin.Rol at q-soft-engineering.com]
> > Sent: Monday, September 04, 2000 4:58 AM
> > To: RTEMS List
> > Subject: Ethernet
> > 
> > 
> > Hello all,
> > 
> > I while back i asked if there was a way to send and receive
> > raw-ethernet frames in RTEMS 4.0 , and got no reply , so i tought
> > to try again :-)
> > 
> > The receiveing of raw ethernet frames i can do like it is done
> > in 4.5 with a handler. But how can i send raw ethernet frames ?
> > Should i directly hook into RTEMS somewhere or can it be done
> > via the BSD socket library ?
> > 
> > tia,
> > Erwin
> > 
> 
> This was asked a long time ago! I am now curious about this too. Erwin, did

Yeah it was :-)

> you ever find an answer? Are there hooks or is hacking required to send and
> receive raw ethernet data? (Now using rtems 4.5.0.)

I never really got a answer to that, so i just hacked the needed mbufs
to getter and passed them to the ethernet layer. Since rtems has a flat
memoryspace this was rather easy done ( especially since the data i
needed to send was single IPX frame based ). 

> -gene

Probably not really the answer you where looking for but thats the best
i can do at the moment :-)


- Erwin


-- 
              Dipl.-Ing. Erwin Rol - Software Engineering
tel: +49-(0)8024-479377  gsm: +49-(0)171-6929198 fax: +49-(0)8024-479379
                        email: erwin at muffin.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rtems.org/pipermail/users/attachments/20030325/ad8e83b4/attachment.bin>


More information about the users mailing list