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-06-15 20:24:18 +0800
commitb4af5c9b57917b1ab31f838adcafcaf5c49baab7 (patch)
tree2d51fb14b5f81ebb7796e6f40e1dab1ec53ad02f /openbsc/src/nat/bsc_nat_utils.c
parentd8b82066fa9af6cc0ed85cdb29c4b283ef137204 (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 d617f2cfd..0c79fff1b 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -192,3 +192,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;
+}