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

[ns] ARP delay_: why fixed to be 5 usec?



In arp.cc, method arprequest(nsaddr_t src, nsaddr_t dst):
{
....
s.schedule(ll->downtarget_, p, delay_);
 
}
 
The delay_ is set to be fixed 5 usec at ns_tcl.cc
 
Why is it set to be a fixed 5 usec? A random time, say between 0-10 usec may be better to avoid collisions (in my simulation, there are persistent collisions of arprequests). Can anybody tell me how the delay_ should be set?
 
Thanks,
 
Ross