aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-01-18 20:00:28 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-01-18 20:14:58 +0100
commit8e60f629e27f6a4cbb47479a1a69966c01890201 (patch)
tree7de85ad2d7cbe0d8f83eff89970f74229eede7c3 /openbsc/include/openbsc/bsc_nat.h
parentbe53012f9c14b1bf27b16f4fa2d0f58f8f0393ca (diff)
nat: Prepare to rewrite the TP-DA number of a SMS submit.
Introduce number rewriting of SMS-SUBMIT. Introduce a new list, move code around to help with finding a new number, somehow the number encoding for TP-DA is borked, 03.40 references 04.11 but the length appears to be strlen(number) without taken the type field into account.
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 b890a6842..df3841e6b 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -297,6 +297,8 @@ struct bsc_nat {
struct llist_head tpdest_match;
char *sms_clear_tp_srr_name;
struct llist_head sms_clear_tp_srr;
+ char *sms_num_rewr_name;
+ struct llist_head sms_num_rewr;
/* USSD messages we want to match */
char *ussd_lst_name;