This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: wavelan driver
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] wavelan driver
- From: Andrea Acquaviva - DEIS-micrel (93785) <aacquaviva at deis dot unibo dot it>
- Date: Wed, 18 Jul 2001 01:56:09 +0200 (MET DST)
- Cc: ecos-discuss at sources dot redhat dot com
- References: <200107172048.WAA03080@promet1.deis.unibo.it> <3B54AB2A.B8242A3C@redhat.com>
- Reply-To: aacquaviva at deis dot unibo dot it
Quoting Jonathan Larmour <jlarmour@redhat.com>:
> "Andrea Acquaviva - DEIS-micrel (93785)" wrote:
> >
> > Hi,
> >
> > I'm in the process of writing an ecos driver for the
> > wavelan card, so I need some info about the tcp/ip
> > stack.
> >
> > In particular, looking at the driver_doc document, I
> > don't find where is the correct way to pass the IP
> > source and destination address to the card.
>
> The stack expects to just be able to fill that in and
send it as "data". If
> you need to pass an address to the card as well as the
data, you would
> probably need to extract the addresses back out from
the packet you've been
> passed to send.
>
> But FYI anyway, the header creation gets done in
ip_output.c
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK.
Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous
Huxley || Opinions==mine
> Come to the Red Hat TechWorld open source conference
in Brussels!
> Keynotes, techie talks and exhibitions
http://www.redhat-techworld.com/
>
Yes, the address is passed through the sg_list as a
normal data.
The problem is that I need to pull this address
to program the appropriate registers in the card, so I
need to know where it is located.
How can I find that? By looking at ip_output.c?
Andrea.