aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 19:00:53 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 19:00:53 +0800
commita594342f71e835d0316a3ee655a6c1a58679e1b4 (patch)
tree3b2eb213c518ea3434c5f7f60a46246fcce1e79f /openbsc/include/openbsc
parent5f54075a8be6e041c8fbf56ff6281fc78a6d7929 (diff)
parent09ecda49d7e12412d50e85109e3f3dc81d76927f (diff)
Merge branch 'zecke/imsi-filter'
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h2
-rw-r--r--openbsc/include/openbsc/bsc_nat_sccp.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 0c9af9184..6b2a09940 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -243,6 +243,8 @@ struct bsc_connection *bsc_nat_find_bsc(struct bsc_nat *nat, struct msgb *msg, i
*/
int bsc_nat_filter_sccp_cr(struct bsc_connection *bsc, struct msgb *msg,
struct bsc_nat_parsed *, int *con_type);
+int bsc_nat_filter_dt(struct bsc_connection *bsc, struct msgb *msg,
+ struct sccp_connections *con, struct bsc_nat_parsed *parsed);
/**
* SCCP patching and handling
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,