This is the mail archive of the ecos-discuss@sources.redhat.com 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: Temporary IP address assignment trick


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 at visi dot 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]