[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5952] Integration of AutoIP module

From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5952] Integration of AutoIP module
Date: Fri, 22 Jun 2007 13:10:47 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070515 Firefox/

Follow-up Comment #33, patch #5952 (project lwip):

I think taking four bytes from the MAC address is better than only 2. Note
that tried_llipaddr will be the same for all devices (worst case).

Can we add MAKEWORD(mac[4], mac[5]) _and_ MAKEWORD(mac[2], mac[3]) or does
that get the IP address too high?

For the second rand, I don't know. Can't we use the mac addresses, too?

Whatever we do, I would make it a define so that we can use the C-library
rand/srand if someone wants that. I'd only like to be able to leave them away
(in the spirit of lw :)

> Move llipaddr? That was my first idea, if everyone prefer, why not?

Yes, why not!


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]