This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Sending ARP packets without PF_PACKET support
- From: Sebax <sebastien dot couret at elios-informatique dot fr>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 07 Nov 2003 12:04:19 +0100
- Subject: [ECOS] Sending ARP packets without PF_PACKET support
Hi,
As far as I know the easiest way to forge ARP request on a Linux system is to use the PF_PACKET socket.
As this is not supported by eCOS , how can I obtain the same result ?
I have tried with a AF_INET,SOCK_RAW socket combined with a sendto but sendto always return an error "Unreachable network"
Your help will bre greatly appreciate.
Have a nice day
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss