aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-27 19:21:24 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-06-01 20:45:12 +0200
commitacc4031cf5dc4b1625054bf74abbc60008c8a5c0 (patch)
treed453529478da9b15618fef50ef5685db9e75f5bc /openbsc/include/openbsc/bsc_nat.h
parent9c20571280fb7cf61bb7211cce0dbbfed9fad7b9 (diff)
nat: Look into the TPDU/SMS-SUBMIT and use the TP-DestAddress for matches
Match the used SMSC and the destination of the SMS and change the SMSC address if both are matched.
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 4506160e6..97fa4fe2e 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -271,6 +271,8 @@ struct bsc_nat {
char *smsc_rewr_name;
struct llist_head smsc_rewr;
+ char *tpdest_match_name;
+ struct llist_head tpdest_match;
/* USSD messages we want to match */
char *ussd_lst_name;