Print previously missing fields from a TCP6 PCB.
This commit is contained in:
parent
9faa971c56
commit
d19ac03c1e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inet6.c,v 1.68 2015/02/08 15:09:45 christos Exp $ */
|
||||
/* $NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv Exp $ */
|
||||
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
|
||||
|
||||
/*
|
||||
@ -64,7 +64,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: inet6.c,v 1.68 2015/02/08 15:09:45 christos Exp $");
|
||||
__RCSID("$NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -1494,6 +1494,9 @@ tcp6_dump(u_long off, const char *name, u_long pcbaddr)
|
||||
#ifdef TCP6
|
||||
printf("peermaxseg %u, maxseg %u, force %d\n\n", mypcb.t_peermaxseg,
|
||||
mypcb.t_maxseg, mypcb.t_force);
|
||||
#else
|
||||
printf("peermss %u, ourmss %u, segsz %u, segqlen %u\n\n",
|
||||
tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen);
|
||||
#endif
|
||||
|
||||
printf("snd_una %u, snd_nxt %u, snd_up %u\n",
|
||||
@ -1511,8 +1514,11 @@ tcp6_dump(u_long off, const char *name, u_long pcbaddr)
|
||||
(unsigned long long)mypcb.snd_ssthresh);
|
||||
|
||||
#ifdef TCP6
|
||||
printf("idle %d, rtt %d, " mypcb.t_idle, mypcb.t_rtt)
|
||||
printf("idle %d, rtt %d, " mypcb.t_idle, mypcb.t_rtt);
|
||||
#else
|
||||
printf("rcvtime %u, rtttime %u, ", tcpcb.t_rcvtime, tcpcb.t_rtttime);
|
||||
#endif
|
||||
|
||||
printf("rtseq %u, srtt %d, rttvar %d, rttmin %d, "
|
||||
"max_sndwnd %llu\n\n", mypcb.t_rtseq,
|
||||
mypcb.t_srtt, mypcb.t_rttvar, mypcb.t_rttmin,
|
||||
|
Loading…
Reference in New Issue
Block a user