aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-21 12:12:57 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 10:40:44 +0200
commita914daf174e9d1a78bdccb1d5bd8b69ec8ff2280 (patch)
treeeb55e9100cd4c241d11e5d3ded22913b927a3341 /openbsc/include/openbsc/bsc_nat.h
parent76424392e08fcea56e665295830a9fdcc6dba5b5 (diff)
nat: Add hook for rewriting a setup message
Create a new function, hand the data to this function, take back a possible modified msgb and invalidate parsed at this point.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 083746f68..049421716 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -343,4 +343,6 @@ struct gsm48_hdr *bsc_unpack_dtap(struct bsc_nat_parsed *parsed, struct msgb *ms
int bsc_ussd_init(struct bsc_nat *nat);
int bsc_check_ussd(struct sccp_connections *con, struct bsc_nat_parsed *parsed, struct msgb *msg);
+struct msgb *bsc_nat_rewrite_setup(struct bsc_nat *nat, struct msgb *msg, struct bsc_nat_parsed *);
+
#endif