[Top][All Lists]

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

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

From: Frédéric Bernon
Subject: [lwip-devel] [patch #5952] Integration of AutoIP module
Date: Fri, 22 Jun 2007 15:47:56 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070515 Firefox/

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

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

The "too high" case is always to process in all case, to avoid to get an IP
address outside the range, but adding MAKEWORD(mac[2], mac[3]) could increase
the number of case of conflicts (but I'm not a statistics expert)...

>Can't we use the mac addresses, too? 

I will study that...

>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 :) 

I'm not sure than in this case, it will be really useful (the C-Library got
lots of functions, and I suppose we will not redefine all that lwIP used...).
I hope to find something to replace it.

>Yes, why not!



Reply to this item at:


  Message posté via/par Savannah

reply via email to

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