aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-02 15:42:08 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-03 15:33:29 +0200
commit5c5e942765d186e4a7979bc29d5b0eaf3f305e2a (patch)
treef7e495e94313ec68c2b3f6a4590c0c90dc82ebeb /openbsc/include
parente581cd18c1d89efdeb3015286b6c1d13c67cc75c (diff)
nat/vty: Allow to configure an optional local-call ip address
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index e25ee0054..b6a3781d0 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -325,6 +325,8 @@ struct bsc_nat {
struct bsc_nat_ussd_con *ussd_con;
/* Local Call-Control */
+ struct llist_head local_dests;
+ struct bsc_msc_dest *local_dest;
char *local_prefix;
regex_t local_prefix_regexp;
@@ -444,6 +446,7 @@ int bsc_ussd_init(struct bsc_nat *nat);
int bsc_ussd_check(struct nat_sccp_connection *con, struct bsc_nat_parsed *parsed, struct msgb *msg);
int bsc_ussd_close_connections(struct bsc_nat *nat);
+void bsc_cc_update_msc_ip(struct bsc_nat *bsc, const char *ip);
struct msgb *bsc_nat_rewrite_msg(struct bsc_nat *nat, struct msgb *msg, struct bsc_nat_parsed *, const char *imsi);
/** paging group handling */