aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-19 16:42:06 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-19 18:35:56 +0100
commit5e3d91bff71a9c456069bbf4a459b66a32f9656e (patch)
tree5eec83d2ef737b6a8c7e2977a4701e4108f16a53 /openbsc/include/openbsc/gsm_data.h
parentf314f6899b89cacae521daf12db85531a5e20dc5 (diff)
ip.access: Keep a full copy of local and remote IP/PORT in lchan
Keeping all parameters for each RTP connection in the abis_ip member of lchan will help us with actual TCH handover later on.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index f9b0b6340..67465e460 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -200,9 +200,12 @@ struct gsm_lchan {
struct {
u_int32_t bound_ip;
+ u_int32_t connect_ip;
u_int16_t bound_port;
- u_int8_t rtp_payload2;
+ u_int16_t connect_port;
u_int16_t conn_id;
+ u_int8_t rtp_payload2;
+ u_int8_t speech_mode;
struct rtp_socket *rtp_socket;
} abis_ip;
};