This is the mail archive of the ecos-discuss@sourceware.org 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] |
Other format: | [Raw text] |
I use IP packets and arp also but at the low layer it's not an ethernet interface but TX/RX. I will spend more time to undestund how IP stack is interfaced with the network interface. If I find the entry point of the IP stack, I will be able to replace the ethernet drivers (eth_drv.c and harward driver) with my drivers. Thanks! Andrew Lunn <andrew@lunn.ch> Sent by: ecos-discuss-owner@ecos.sourceware.org 29/11/2005 11:15 To Birahim Larou Fall <BLFall@scmmicro.fr> cc Andrew Lunn <andrew@lunn.ch>, eCos Discussion <ecos-discuss@ecos.sourceware.org> Subject Re: [ECOS] Entry point of stack IP On Tue, Nov 29, 2005 at 10:15:28AM +0100, Birahim Larou Fall wrote: > It is more like PPP/SLIP. The device is a modem (DOCSIS) used on numerical > TV. Data are transmitted from/to host to/from to slave using DOCSIS modem > (TX/RX). The host and the slave have each one a MAC and IP ADRESS. If it has a MAC address then i sounds more like an ethernet than PPP. Do you need ARP? Do you pass ethernet frames or IP packets? If your interface uses raw IP packets then it will plug in differently than if it uses ethernet frames. Basicaly, you want to take a look at the ethernet infrastructure in packages/io/eth/current/src/net/eth_drv.c which goes between the ethernet drivers and the bottom of the stack, and packages/net/ppp and look at how it interfaces to the stack. I also think you will need to spend some time getting familiar with the network stack. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |