DCCP protocol discussions
 help / color / mirror / Atom feed
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: [PATCH-UPDATE]: 3f_CCID3_refactor_loss_interval_code_McDonald.diff
Date: Mon, 08 Jan 2007 09:29:47 +0000	[thread overview]
Message-ID: <200701080929.47990@strip-the-willow> (raw)
In-Reply-To: <200701051455.16936@strip-the-willow>

Quoting Ian McDonald:
|  On 1/6/07, Gerrit Renker <gerrit@erg.abdn.ac.uk> wrote:
|  > I would like to retract the change in the interface of update_li which we discussed recently.
|  >
|  > The reason is that the caller supplies `loss' parameters (a loss sequence number and a loss
|  > CCVal); the fact that in the current implementation this coincides with the fields
|  >
|  >        hccrx->ccid3hcrx_seqno_nonloss and
|  >        hcrx->ccid3hcrx_ccval_nonloss
|  >
|  > in ccid3_hc_rx_detect_loss is more of a coincidence.
|  
|  I disagree with you on this. It's not a coincidence at all. I planned
|  the code that way. It "happens" to have the right values because I put
|  them there.
|  
|  > I have been going over this code several
|  > times and come to the conclusion that not changing the interface of update_li is the cleanest
|  > way. I have uploaded this to the online directory, below are the differences to Ian's original.
|  >
|  >
|  I disagree with this. However I can see some confusion because we are
|  equating nonloss and loss variables and the variables are named badly
|  in the loss interval code. What I've done is stuck with my original
|  patch but changed the variable names seq_loss and win_loss to
|  seq_nonloss and win_nonloss respectively.
|  
|  I've posted the new version online. Can you now use this one please?
You are right - the way it is used corresponds to the highest sequence number received before the loss.
Therefore of course it is nonloss what we are storing. Thanks for the explanation, I have downloaded
your patch, refreshed it with regard to offset etc, acked, and uploaded again as 3f.

Thanks
Gerrit

      parent reply	other threads:[~2007-01-08  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 14:55 [PATCH-UPDATE]: 3f_CCID3_refactor_loss_interval_code_McDonald.diff Gerrit Renker
2007-01-06 19:29 ` Ian McDonald
2007-01-08  9:29 ` Gerrit Renker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701080929.47990@strip-the-willow \
    --to=gerrit@erg.abdn.ac.uk \
    --cc=dccp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox