[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: |
Tue, 19 Jun 2007 10:52:38 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #26, patch #5952 (project lwip):
> For information, why don't you like rand/srand?
Only because I want to use as little from a C library as we can.
using time(NULL) for srand is as bad as a magic number: if you have many same
devices, they will boot in the same time, so srand will be the same!
I know rand is used for ppp also, but that doesn't make it better ;-)
We have a malloc-replacement, so we also should have a rand replacement.
Calculating the xor for all mac addresses could be as good as seeding rand
with them (as long as we don't use that random value for security reasons!).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5952>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #5952] Integration of AutoIP module, (continued)
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/18
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/19
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/19
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/19
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/19
- [lwip-devel] [patch #5952] Integration of AutoIP module,
Simon Goldschmidt <=
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/19
- [lwip-devel] [patch #5952] Integration of AutoIP module, Dominik Spies, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Simon Goldschmidt, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22
- [lwip-devel] [patch #5952] Integration of AutoIP module, Frédéric Bernon, 2007/06/22