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

Re: [ns] reset_rtx_timer(int mild, int backoff)



Hi

In tcp.h (line 233) you can see the following declaration:

void reset_rtx_timer(int mild, int backoff = 1);

backoff will get a default value of 1 if you don't provide 
a second argument when you call reset_rtx_timer() (as seems to
be the case in tcp-vegas).

Dimitris.

On Fri, Jul 20, 2001 at 10:16:48PM +1200, hai22 wrote:
> Hi,
> I have a question about the usage of reset_rtx_timer function in
> tcp-vegas.cc
> In file tcp.cc we have the following function defined :
.....
> But in ~ns/tcp-vegas.cc we have the following usage of ( I think defined
> above ) reset_rtx_timer 
> Which I cannot understand that why it is having only one argument
> instead of two as defined above ....
...... 
> I beleive that in both of above cases there should be two arguments as
> defined in tcp.cc ....
> *****************************************************
> Can any one explain this mystery to me ?
> Thanks,
> Aun.
> *****************************************************

-- 
Dimitris Velenis                              <[email protected]>
Network Management & Optimal Design Lab
National Technical University of Athens