This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: wavelan driver


"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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]