aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 00:41:19 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 18:58:35 +0800
commit909e61fddcdd97ed1bb8c44951f12dc3590f6521 (patch)
tree0e8c10bdc0045f1d827bc15293a6cd61dcf8280a /openbsc/include/openbsc/bsc_nat_sccp.h
parent3837f99e89f9e02425726d4e32d4f413769b66ea (diff)
nat: Remember if we have check the imsi.
Return -1 if the IMSI should be filtered, 0 if the IMSI could not be checked and 1 if the IMSI was checked and allowed to pass. In the future this will be used to inspect every message coming by.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat_sccp.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat_sccp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat_sccp.h b/openbsc/include/openbsc/bsc_nat_sccp.h
index 4f1afcb2b..c4f756e3d 100644
--- a/openbsc/include/openbsc/bsc_nat_sccp.h
+++ b/openbsc/include/openbsc/bsc_nat_sccp.h
@@ -78,6 +78,7 @@ struct sccp_connections {
/* status */
int con_type;
int con_local;
+ int imsi_checked;
/*
* audio handling. Remember if we have ever send a CRCX,