diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-14 03:39:56 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-14 03:47:52 +0800 |
commit | 8ff74e8c24866e888652a70c0d9a21b2f2dad18c (patch) | |
tree | d35869c9016d9625a1f595361dd128325508795f /openbsc/include | |
parent | a202342d64f383319f5cad211f3189c0420f833b (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/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -258,6 +258,11 @@ 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 */ int create_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bsc_nat_parsed *parsed); |