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]

Re: Re: Fwd: Sending raw packets on eCos


 manesh <manesh.v@gmail.com> writes:

>      I need to use ARP packet, to check the host IP address if it is
> already in use. This check is usually performed by the eCos network
> thread, at the OS start up, but I need this to happen at periodic
> intervals. Its a basic "whois" frame which I need to send. There is
> another option by sending an ICMP request, but which I am not supposed
> to do.

The host's IP address should be allocated either statically, or via
DHCP. In the former case it is fixed for the network, in the latter
the DHCP thread will keep it alive. I don't see any need to continue
to probe for it with ARP requests.

>      Can I use any functions of the built in support?

I don't think so,

-- 
Nick Garnett                                     eCos Kernel Architect
eCosCentric Limited     http://www.eCosCentric.com/   The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.    Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.


-- 
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]