aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/osmo_bsc_mgcp.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/osmocom/bsc/osmo_bsc_mgcp.h b/include/osmocom/bsc/osmo_bsc_mgcp.h
index df185244e..e4b038cd9 100644
--- a/include/osmocom/bsc/osmo_bsc_mgcp.h
+++ b/include/osmocom/bsc/osmo_bsc_mgcp.h
@@ -22,12 +22,17 @@
#include <osmocom/mgcp_client/mgcp_common.h>
-/* MGCP state handler context (fsm etc..) */
+/* MGCP state handler context. This context information stores all information
+ * to handle the direction of the RTP streams via MGCP. There is one instance
+ * of this context struct per subscriber connection.
+ * (see also struct osmo_bsc_sccp_con) */
struct mgcp_ctx {
/* FSM instance, which handles the connection switching procedure */
struct osmo_fsm_inst *fsm;
- /* RTP endpoint number */
+ /* RTP endpoint number. This number number identifies the endpoint
+ * on the MGW on which the BTS and NET connection is created. This
+ * endpoint number is assigned and released automatically. */
uint16_t rtp_endpoint;
/* RTP connection identifiers */