aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-23 20:25:17 -0400
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-23 20:27:30 -0400
commit7f100c9712de5c684462e809bf31a58c0c326337 (patch)
treea0679413f21ddea3c2656f0463595056f4769989 /openbsc/include
parentd4b03187c68c6136192f7a41335982b5ceeeb036 (diff)
nat: Make mode-set patching optional
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 9d29d26c3..19144e3dd 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -285,6 +285,7 @@ struct bsc_nat {
uint8_t mgcp_msg[4096];
int mgcp_length;
int mgcp_ipa;
+ int sdp_ensure_amr_mode_set;
/* msc things */
struct llist_head dests;
@@ -421,7 +422,7 @@ int bsc_mgcp_nat_init(struct bsc_nat *nat);
struct nat_sccp_connection *bsc_mgcp_find_con(struct bsc_nat *, int endpoint_number);
struct msgb *bsc_mgcp_rewrite(char *input, int length, int endp, const char *ip,
- int port, int osmux, int *payload_type);
+ int port, int osmux, int *payload_type, int mode_set);
void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg);
void bsc_mgcp_clear_endpoints_for(struct bsc_connection *bsc);