Modified to include comments on how to get TCPDEBUG turned on and

printing messages.
This commit is contained in:
Joel Sherrill
1999-02-04 14:53:06 +00:00
parent cd792a86cf
commit 7c7fd4de93
8 changed files with 44 additions and 4 deletions

View File

@@ -70,7 +70,7 @@
#include <netinet/tcp_debug.h>
#ifdef TCPDEBUG
static int tcpconsdebug = 0;
static int tcpconsdebug = 0; /* set to 1 to enable prints */
#endif
static struct tcp_debug tcp_debug[TCP_NDEBUG];

View File

@@ -4,3 +4,13 @@
/* intentionally empty file */
/*
* Uncomment the following line to turn on debug code. When you define
* this symbol, tcp_trace() is called. If you want tcp_trace() to
* print, then you need to edit netinet/tcp_debug to set the variable
* "tcpconsdebug" to 1.
*/
/*
#define TCPDEBUG
*/

View File

@@ -70,7 +70,7 @@
#include <netinet/tcp_debug.h>
#ifdef TCPDEBUG
static int tcpconsdebug = 0;
static int tcpconsdebug = 0; /* set to 1 to enable prints */
#endif
static struct tcp_debug tcp_debug[TCP_NDEBUG];

View File

@@ -4,3 +4,13 @@
/* intentionally empty file */
/*
* Uncomment the following line to turn on debug code. When you define
* this symbol, tcp_trace() is called. If you want tcp_trace() to
* print, then you need to edit netinet/tcp_debug to set the variable
* "tcpconsdebug" to 1.
*/
/*
#define TCPDEBUG
*/

View File

@@ -70,7 +70,7 @@
#include <netinet/tcp_debug.h>
#ifdef TCPDEBUG
static int tcpconsdebug = 0;
static int tcpconsdebug = 0; /* set to 1 to enable prints */
#endif
static struct tcp_debug tcp_debug[TCP_NDEBUG];

View File

@@ -4,3 +4,13 @@
/* intentionally empty file */
/*
* Uncomment the following line to turn on debug code. When you define
* this symbol, tcp_trace() is called. If you want tcp_trace() to
* print, then you need to edit netinet/tcp_debug to set the variable
* "tcpconsdebug" to 1.
*/
/*
#define TCPDEBUG
*/

View File

@@ -70,7 +70,7 @@
#include <netinet/tcp_debug.h>
#ifdef TCPDEBUG
static int tcpconsdebug = 0;
static int tcpconsdebug = 0; /* set to 1 to enable prints */
#endif
static struct tcp_debug tcp_debug[TCP_NDEBUG];

View File

@@ -4,3 +4,13 @@
/* intentionally empty file */
/*
* Uncomment the following line to turn on debug code. When you define
* this symbol, tcp_trace() is called. If you want tcp_trace() to
* print, then you need to edit netinet/tcp_debug to set the variable
* "tcpconsdebug" to 1.
*/
/*
#define TCPDEBUG
*/