From 8ff74e8c24866e888652a70c0d9a21b2f2dad18c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 May 2010 03:39:56 +0800 Subject: 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. --- openbsc/include/openbsc/bsc_nat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 61df38930..b3a12f5c1 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -257,6 +257,11 @@ int bsc_nat_filter_ipa(int direction, struct msgb *msg, struct bsc_nat_parsed *p int bsc_nat_vty_init(struct bsc_nat *nat); struct bsc_connection *bsc_nat_find_bsc(struct bsc_nat *nat, struct msgb *msg, int *_lac); +/** + * Content filtering. + */ +int bsc_nat_filter_sccp_cr(struct bsc_connection *, struct msgb *msg, struct bsc_nat_parsed *); + /** * SCCP patching and handling */ -- cgit v1.2.3