forked from Imagelibrary/rtems
Modified to include comments on how to get TCPDEBUG turned on and
printing messages.
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
#include <netinet/tcp_debug.h>
|
#include <netinet/tcp_debug.h>
|
||||||
|
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
static int tcpconsdebug = 0;
|
static int tcpconsdebug = 0; /* set to 1 to enable prints */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||||
|
|||||||
@@ -4,3 +4,13 @@
|
|||||||
|
|
||||||
/* intentionally empty file */
|
/* 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
|
||||||
|
*/
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
#include <netinet/tcp_debug.h>
|
#include <netinet/tcp_debug.h>
|
||||||
|
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
static int tcpconsdebug = 0;
|
static int tcpconsdebug = 0; /* set to 1 to enable prints */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||||
|
|||||||
@@ -4,3 +4,13 @@
|
|||||||
|
|
||||||
/* intentionally empty file */
|
/* 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
|
||||||
|
*/
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
#include <netinet/tcp_debug.h>
|
#include <netinet/tcp_debug.h>
|
||||||
|
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
static int tcpconsdebug = 0;
|
static int tcpconsdebug = 0; /* set to 1 to enable prints */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||||
|
|||||||
@@ -4,3 +4,13 @@
|
|||||||
|
|
||||||
/* intentionally empty file */
|
/* 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
|
||||||
|
*/
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
#include <netinet/tcp_debug.h>
|
#include <netinet/tcp_debug.h>
|
||||||
|
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
static int tcpconsdebug = 0;
|
static int tcpconsdebug = 0; /* set to 1 to enable prints */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
static struct tcp_debug tcp_debug[TCP_NDEBUG];
|
||||||
|
|||||||
@@ -4,3 +4,13 @@
|
|||||||
|
|
||||||
/* intentionally empty file */
|
/* 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
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user