diff options
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r-- | sys/netinet/sctp_constants.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h index c3d2997..bcf1aae 100644 --- a/sys/netinet/sctp_constants.h +++ b/sys/netinet/sctp_constants.h @@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$"); #define SCTP_VERSION_STRING "KAME-BSD 1.1" /* #define SCTP_AUDITING_ENABLED 1 used for debug/auditing */ #define SCTP_AUDIT_SIZE 256 -#define SCTP_STAT_LOG_SIZE 80000 #define SCTP_USE_THREAD_BASED_ITERATOR 1 @@ -204,12 +203,13 @@ __FBSDID("$FreeBSD$"); #define SCTP_LOG_MAX_TYPES 118 /* - * To turn on various logging, you must first define SCTP_STAT_LOGGING. Then - * to get something to log you define one of the logging defines i.e. + * To turn on various logging, you must first enable 'options KTR' and + * you might want to bump the entires 'options KTR_ENTRIES=80000'. + * To get something to log you define one of the logging defines. + * (see LINT). * - * SCTP_CWND_LOGGING SCTP_BLK_LOGGING SCTP_STR_LOGGING SCTP_FR_LOGGING - * - * Any one or a combination of the logging can be turned on. + * This gets the compile in place, but you still need to turn the + * logging flag on too in the sysctl (see in sctp.h). */ #define SCTP_LOG_EVENT_UNKNOWN 0 #define SCTP_LOG_EVENT_CWND 1 @@ -229,8 +229,10 @@ __FBSDID("$FreeBSD$"); #define SCTP_LOG_MISC_EVENT 15 #define SCTP_LOG_EVENT_CLOSE 16 #define SCTP_LOG_EVENT_MBUF 17 +#define SCTP_LOG_CHUNK_PROC 18 +#define SCTP_LOG_ERROR_RET 19 -#define SCTP_LOG_MAX_EVENT 18 +#define SCTP_LOG_MAX_EVENT 20 #define SCTP_LOCK_UNKNOWN 2 |