Re: [PATCH 2/7] dccp ccid-3: Simplified handling of TX states

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

 



On Tue, Jul 29, 2008 at 6:13 AM, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote:
> Since CCIDs are only used during the established phase of a connection,
> they have very little internal state; this specifically reduces to:
>
>  * "no packet sent" if and only if s == 0, for the TX packet size s;
>
>  * when the first packet has been sent (i.e. `s' > 0), the question is whether
>   or not feedback has been received:
>   - if a feedback packet is received, "feedback = yes" is set,
>   - if the nofeedback timer expires,  "feedback = no"  is set.
>
> Thus the CCID only needs to remember state about whether or not feedback
> has been received. This is now implemented using a boolean flag, which is
> toggled when a feedback packet arrives or the nofeedback timer expires.
>
> Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx>

Signed-off-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx>
--
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