[Pkg-telepathy-commits] [libnice] 90/265: agent: Add a couple of comments to the pseudo-TCP implementation

Simon McVittie smcv at debian.org
Wed May 14 12:04:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit 7312432367ead3b9474f553b3512507d6440c67a
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date:   Tue Jan 14 08:59:07 2014 +0000

    agent: Add a couple of comments to the pseudo-TCP implementation
---
 agent/pseudotcp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/agent/pseudotcp.c b/agent/pseudotcp.c
index dda3157..b2cab28 100644
--- a/agent/pseudotcp.c
+++ b/agent/pseudotcp.c
@@ -438,7 +438,8 @@ struct _PseudoTcpSocketPrivate {
 
   // Outgoing data
   GList *slist;
-  guint32 sbuf_len, snd_nxt, snd_wnd, lastsend, snd_una;
+  guint32 sbuf_len, snd_nxt, snd_wnd, lastsend;
+  guint32 snd_una;  /* oldest unacknowledged sequence number */
   guint8 swnd_scale; // Window scale factor
   PseudoTcpFifo sbuf;
 
@@ -457,7 +458,7 @@ struct _PseudoTcpSocketPrivate {
   guint32 ssthresh, cwnd;
   guint8 dup_acks;
   guint32 recover;
-  guint32 t_ack;
+  guint32 t_ack;  /* time a delayed ack was scheduled; 0 if no acks scheduled */
 
   gboolean use_nagling;
   guint32 ack_delay;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list