aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-14 03:39:56 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-14 03:47:52 +0800
commit8ff74e8c24866e888652a70c0d9a21b2f2dad18c (patch)
treed35869c9016d9625a1f595361dd128325508795f /openbsc/src/nat/bsc_nat_utils.c
parenta202342d64f383319f5cad211f3189c0420f833b (diff)
nat: Introduce a nat filter that is working on the CR message.
Currently there is no implementation but the refusal code is in place and will send a refusal back to the BSC.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index c608a7c2b..3ace03e50 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -193,3 +193,10 @@ int bsc_write(struct bsc_connection *bsc, struct msgb *msg, int proto)
return 0;
}
+/* Filter out CM Service Requests... */
+int bsc_nat_filter_sccp_cr(struct bsc_connection *bsc, struct msgb *msg, struct bsc_nat_parsed *parsed)
+{
+ /* the data we want to look at is optional. We want to have it here... */
+ return 0;
+}
+