diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-23 20:25:17 -0400 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-23 20:27:30 -0400 |
commit | 7f100c9712de5c684462e809bf31a58c0c326337 (patch) | |
tree | a0679413f21ddea3c2656f0463595056f4769989 /openbsc/include | |
parent | d4b03187c68c6136192f7a41335982b5ceeeb036 (diff) |
nat: Make mode-set patching optional
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 3 |
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); |