Update for TCP timer changes.
This commit is contained in:
parent
6d0e813f6c
commit
2807c29a57
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: inet.c,v 1.47 2001/09/10 15:25:24 thorpej Exp $ */
|
||||
/* $NetBSD: inet.c,v 1.48 2001/09/10 22:17:28 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1988, 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: inet.c,v 1.47 2001/09/10 15:25:24 thorpej Exp $");
|
||||
__RCSID("$NetBSD: inet.c,v 1.48 2001/09/10 22:17:28 thorpej Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -667,8 +667,11 @@ tcp_dump(pcbaddr)
|
||||
printf("TCP Protocol Control Block at 0x%08lx:\n\n", pcbaddr);
|
||||
|
||||
printf("Timers:\n");
|
||||
for (i = 0; i < TCPT_NTIMERS; i++)
|
||||
printf("\t%s: %u", tcptimers[i], tcpcb.t_timer[i]);
|
||||
for (i = 0; i < TCPT_NTIMERS; i++) {
|
||||
printf("\t%s: %llu", tcptimers[i],
|
||||
(tcpcb.t_timer[i].c_flags & CALLOUT_ACTIVE) ?
|
||||
tcpcb.t_timer[i].c_time : 0);
|
||||
}
|
||||
printf("\n\n");
|
||||
|
||||
if (tcpcb.t_state < 0 || tcpcb.t_state >= TCP_NSTATES)
|
||||
|
Loading…
Reference in New Issue
Block a user