aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-05 13:45:53 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-05 14:06:16 +0200
commit7c00983275c1b830b88db124bc0b15078b9cd45d (patch)
tree53a84fb2ec43f6c882522aef1eda8d187e8a0b7b /openbsc/include/openbsc/bsc_nat.h
parentfa1cba9e606c3364fecabe85967950cc217fd870 (diff)
nat: Inform others if an IMSI is rejected
In case one wants to monitor the access lists one there is now a trap for the IMSI.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 15e20997a..9d29d26c3 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -498,6 +498,10 @@ int bsc_nat_handle_ctrlif_msg(struct bsc_connection *bsc, struct msgb *msg);
int bsc_nat_extract_lac(struct bsc_connection *bsc, struct nat_sccp_connection *con,
struct bsc_nat_parsed *parsed, struct msgb *msg);
+/**
+ * CTRL interface helper
+ */
+void bsc_nat_inform_reject(struct bsc_connection *bsc, const char *imsi);
/*
* Use for testing