From d9a55f67acdcc9a0f63ac48c34926b15b72180da Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 17 May 2010 23:41:43 +0200 Subject: [GPRS] BSSGP: Add VTY for configuration and inpection This also includes log filtering based on NSEI/BVCI tuple --- openbsc/include/openbsc/debug.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbsc/include/openbsc/debug.h') 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; -- cgit v1.2.3