[klibc] ipconfig

H. Peter Anvin hpa at zytor.com
Fri May 13 10:04:25 PDT 2005


Eric W. Biederman wrote:
> 
> Sounds about right....
> 
> However it is simple to test if an interface plugged in,
> with the mii code, and we should do that.
> 
> My gut feel is that the code should continue to try on multiple
> interfaces but stop once n (n = 1?) seconds have passed since
> it received a reply, that the kernel can used.  This gives the
> chance to pick the best DHCP reply, if you get several.  But
> more importantly is the trying on all of the interfaces until
> something happens.  Something stupid could have happened like
> someone forgot to plug in the cable before turning on the
> machine etc. 
> 

The code is already parallel (which is good); so there isn't really a 
need to test the link.  If we accept the first complete reply we get we 
should be OK.

What do you mean with "best DHCP reply"?

	-hpa



More information about the klibc mailing list