aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-01 16:54:45 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-20 13:06:28 +0100
commited0a47b9c5569a8b13566d2dd77da223d456277f (patch)
treedd9737018eac50e3e8bf33d0f7bfb9f4a57184fb
parentf926ed6b6f84c3465b602b291596287609e6f897 (diff)
[debug] Add a debug area for SCCP
-rw-r--r--openbsc/include/openbsc/debug.h2
-rw-r--r--openbsc/src/debug.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 6ac3a5409..24f45add7 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -20,6 +20,8 @@
#define DMUX 0x4000
#define DINP 0x8000
+#define DSCCP 0x10000
+
#ifdef DEBUG
#define DEBUGP(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 0, fmt, ## args)
#define DEBUGPC(ss, fmt, args...) debugp(ss, __FILE__, __LINE__, 1, fmt, ## args)
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c
index fa903af98..14d6b603e 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -57,6 +57,7 @@ static const struct debug_info debug_info[] = {
DEBUG_CATEGORY(DMIB, "DMIB", "", "")
DEBUG_CATEGORY(DMUX, "DMUX", "", "")
DEBUG_CATEGORY(DMEAS, "DMEAS", "", "")
+ DEBUG_CATEGORY(DSCCP, "DSCCP", "", "")
};
static int use_color = 1;