Ethernet (Raw)
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Mar 25 17:12:01 UTC 2003
Erwin Rol wrote:
>
> 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 ).
Look for tap in the networking guide and see if that helps. I don't
know if it is far enough into the stack to help.
> > -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
>
> ------------------------------------------------------------------------
> Name: signature.asc
> signature.asc Type: application/pgp-signature
> Description: This is a digitally signed message part
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list