This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Question about Ethernet Raw Packet communication !!
- To: Tony Ko <nhko at gctsemi dot com>
- Subject: Re: [ECOS] Question about Ethernet Raw Packet communication !!
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 27 Jun 2001 17:56:22 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <9860C773D04D834D83FD6FAD00A61E9311B702@gctsemi.gctsemi.com>
Tony Ko wrote:
>
> hi.
> I'd like to transceive Raw Packet via Ethernet on eCos ( platform is
> MBX860).
> this Raw Packet dosn't need any protocol stuff, such like IP header.
> ( It doesn't use general ethernet protocol. just uses user-defined
> protocol )
> So it needs only source-ethernet-MAC-address/destination-ethernet-MAC-
> address and user-defined data.
>
> So I'm confused if I should use socket or something.
> What parts can I use for this kind of Raw Packet ethernet on eCos
> package?
If you have no need of a TCP/IP stack, talk directly to the stuff in io/eth
in the same way the TCP/IP stack does.
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/