aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-17 23:41:43 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-17 23:41:43 +0200
commitd9a55f67acdcc9a0f63ac48c34926b15b72180da (patch)
tree7454dca42c66f7ef437d595cc18514f1158357e7 /openbsc/include/openbsc/debug.h
parentb1b290862a1f8896157da1b38c64f516d3905357 (diff)
[GPRS] BSSGP: Add VTY for configuration and inpection
This also includes log filtering based on NSEI/BVCI tuple
Diffstat (limited to 'openbsc/include/openbsc/debug.h')
-rw-r--r--openbsc/include/openbsc/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 11071343d..8767c5391 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -43,6 +43,7 @@ enum {
#define BSC_CTX_BTS 2
#define BSC_CTX_SCCP 3
#define BSC_CTX_NSVC 4
+#define BSC_CTX_BVC 5
#define LOGGING_STR "Configure log message to this terminal\n"
#define FILTER_STR "Filter log messages\n"
@@ -53,14 +54,18 @@ enum {
//DEBUG_FILTER_ALL = 1 << 0,
LOG_FILTER_IMSI = 1 << 1,
LOG_FILTER_NSVC = 1 << 2,
+ LOG_FILTER_BVC = 1 << 3,
};
/* we don't need a header dependency for this... */
struct gprs_nsvc;
+struct bssgp_bvc_ctx;
void log_set_imsi_filter(struct log_target *target, const char *imsi);
void log_set_nsvc_filter(struct log_target *target,
const struct gprs_nsvc *nsvc);
+void log_set_bvc_filter(struct log_target *target,
+ const struct bssgp_bvc_ctx *bctx);
extern const struct log_info log_info;