KTR_GEN -> KTR_SUBSYS (for Kris).
This commit is contained in:
parent
cb7a497672
commit
629b8f3e0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170747
@ -159,13 +159,13 @@ MALLOC_DECLARE(SCTP_M_SOCKOPT);
|
||||
#define SCTP_PRINTF(params...) printf(params)
|
||||
|
||||
#ifdef SCTP_LTRACE_CHUNKS
|
||||
#define SCTP_LTRACE_CHK(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_CHUNK_ENABLE) CTR6(KTR_NET, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_CHUNK_PROC, 0, a, b, c, d)
|
||||
#define SCTP_LTRACE_CHK(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_CHUNK_ENABLE) CTR6(KTR_SUBSYS, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_CHUNK_PROC, 0, a, b, c, d)
|
||||
#else
|
||||
#define SCTP_LTRACE_CHK(a, b, c, d)
|
||||
#endif
|
||||
|
||||
#ifdef SCTP_LTRACE_ERRORS
|
||||
#define SCTP_LTRACE_ERR(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_ERROR_ENABLE) CTR6(KTR_NET, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_ERROR_RET, 0, a, b, c, d)
|
||||
#define SCTP_LTRACE_ERR(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_ERROR_ENABLE) CTR6(KTR_SUBSYS, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_ERROR_RET, 0, a, b, c, d)
|
||||
#else
|
||||
#define SCTP_LTRACE_ERR(a, b, c, d)
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
|
||||
#ifndef SCTP_SUBSYS_KTR
|
||||
#define SCTP_SUBSYS_KTR KTR_GEN
|
||||
#define SCTP_SUBSYS_KTR KTR_SUBSYS
|
||||
#endif
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user