Commit 73124323 authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête

agent: Add a couple of comments to the pseudo-TCP implementation

parent dbec8156
...@@ -438,7 +438,8 @@ struct _PseudoTcpSocketPrivate { ...@@ -438,7 +438,8 @@ struct _PseudoTcpSocketPrivate {
// Outgoing data // Outgoing data
GList *slist; 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 guint8 swnd_scale; // Window scale factor
PseudoTcpFifo sbuf; PseudoTcpFifo sbuf;
...@@ -457,7 +458,7 @@ struct _PseudoTcpSocketPrivate { ...@@ -457,7 +458,7 @@ struct _PseudoTcpSocketPrivate {
guint32 ssthresh, cwnd; guint32 ssthresh, cwnd;
guint8 dup_acks; guint8 dup_acks;
guint32 recover; guint32 recover;
guint32 t_ack; guint32 t_ack; /* time a delayed ack was scheduled; 0 if no acks scheduled */
gboolean use_nagling; gboolean use_nagling;
guint32 ack_delay; guint32 ack_delay;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment