Re: [PATCH 4/6]: Simplify interface of dccp_sample_rtt

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

 



Quoting Ian McDonald:
|  On 6/10/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote:
|  > [DCCP]: Simplify interface of dccp_sample_rtt
|  
|  Don't quite understand this yet but that's just me needing to look at
|  longer I think!!
|  >
|  > +extern u32        dccp_sample_rtt(struct sock *sk, long candidate);
|  >
|  What's candidate? Do you mean delta perhaps?
|  
|  > +u32 dccp_sample_rtt(struct sock *sk, long delta)
|  >  {

Good spot - thank you. This is indeed an oversight, initially the `delta'
had been named `candidate', but I changed that later back to delta. 

I will adapt the header file, to rename it also to `delta'.

Both are true - the `delta' is a candidate difference/ RTT-sample. If the
value is out of bounds, dccp_sample_rtt will return a value within MIN...MAX.

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux