Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat PR/43968 -- add 'segqlen' of TCPCB to 'netst...
details: https://anonhg.NetBSD.org/src/rev/4c14a300f967
branches: trunk
changeset: 770132:4c14a300f967
user: shattered <shattered%NetBSD.org@localhost>
date: Tue Oct 04 21:12:40 2011 +0000
description:
PR/43968 -- add 'segqlen' of TCPCB to 'netstat -P'.
OK by wiz@
diffstat:
usr.bin/netstat/inet.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r a370505d3272 -r 4c14a300f967 usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c Tue Oct 04 20:20:32 2011 +0000
+++ b/usr.bin/netstat/inet.c Tue Oct 04 21:12:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet.c,v 1.99 2011/05/11 22:21:59 dyoung Exp $ */
+/* $NetBSD: inet.c,v 1.100 2011/10/04 21:12:40 shattered Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet.c,v 1.99 2011/05/11 22:21:59 dyoung Exp $");
+__RCSID("$NetBSD: inet.c,v 1.100 2011/10/04 21:12:40 shattered Exp $");
#endif
#endif /* not lint */
@@ -976,8 +976,8 @@
printf("rxtshift %d, rxtcur %d, dupacks %d\n", tcpcb.t_rxtshift,
tcpcb.t_rxtcur, tcpcb.t_dupacks);
- printf("peermss %u, ourmss %u, segsz %u\n\n", tcpcb.t_peermss,
- tcpcb.t_ourmss, tcpcb.t_segsz);
+ printf("peermss %u, ourmss %u, segsz %u, segqlen %u\n\n",
+ tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen);
printf("snd_una %u, snd_nxt %u, snd_up %u\n",
tcpcb.snd_una, tcpcb.snd_nxt, tcpcb.snd_up);
Home |
Main Index |
Thread Index |
Old Index