All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: [PATCH 4/4][NEW]:  More to see in dccp_probe
Date: Wed, 03 Jan 2007 13:58:02 +0000	[thread overview]
Message-ID: <200701031358.02629@strip-the-willow> (raw)

[CCID 3]: More to see in dccp_probe

This removes the `size' field from output (which would report the constant buffer size),
and adds a few more fields of interest to /proc/net/dccpprobe, the following output ensues:

sec.usec   src:sport   dst:dport   s   rtt   p   X_calc  X_recv   X   t_ipi
1           2          3           4   5     6   7       8        9   10

Scripts that go with this can be downloaded from http://139.133.210.30/users/gerrit/dccp/dccp_probe/

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
---
 net/dccp/probe.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

--- a/net/dccp/probe.c
+++ b/net/dccp/probe.c
@@ -90,11 +90,13 @@ static int jdccp_sendmsg(struct kiocb *i
 	if (port = 0 || ntohs(inet->dport) = port ||
 	    ntohs(inet->sport) = port) {
 		if (hctx)
-			printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d %d %d %d %d\n",
+			printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d %d %d %u %llu %llu %d\n",
 			   NIPQUAD(inet->saddr), ntohs(inet->sport),
-			   NIPQUAD(inet->daddr), ntohs(inet->dport), size,
+			   NIPQUAD(inet->daddr), ntohs(inet->dport),
 			   hctx->ccid3hctx_s, hctx->ccid3hctx_rtt,
-			   hctx->ccid3hctx_p, hctx->ccid3hctx_t_ipi);
+			   hctx->ccid3hctx_p,
+			   hctx->ccid3hctx_x_calc, hctx->ccid3hctx_x_recv >> 6,
+			   hctx->ccid3hctx_x >> 6, hctx->ccid3hctx_t_ipi);
 		else
 			printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d\n",
 			   NIPQUAD(inet->saddr), ntohs(inet->sport),

             reply	other threads:[~2007-01-03 13:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03 13:58 Gerrit Renker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-01-03 21:39 [PATCH 4/4][NEW]: More to see in dccp_probe Ian McDonald
2007-01-04  3:04 ` 

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=200701031358.02629@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.