This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: wavelan driver
- To: aacquaviva at deis dot unibo dot it
- Subject: Re: [ECOS] wavelan driver
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 17 Jul 2001 22:16:26 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200107172048.WAA03080@promet1.deis.unibo.it>
"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/