[ECOS] Temporary IP address assignment trick

Grant Edwards grante@visi.com
Thu Mar 20 15:20:00 GMT 2003


On Thu, Mar 20, 2003 at 04:07:09PM +0100, Andrew Lunn wrote:

> > Is there a way to tell the stack to receive and turn over to
> > the application any packet with a matching MAC address?
> 
> There is no bpf which will make this hard. It might be possible
> with raw sockets.

I had assumed that it would take some stack-hacking, but if I
could open a raw socket and ask to receive any packets with an
Ethernet protocol type of IP, then it may be possible to do
this from the application level.

-- 
Grant Edwards
grante@visi.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list