aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-12-13 11:01:06 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-13 20:20:15 +0000
commit66d2ef81b60959f051a607834b851790b2dac13f (patch)
tree015e88108f9eed68acd3d7170da489bf9f9a1ce4 /include
parent256d09d1f25e5b519d11b0d28803f2a21419a918 (diff)
cosmetic: osmo_bsc_mgcp: improve comments
Make the comments for struct mgcp_ctx more expressive Change-Id: Ie80b4915055e3f944ff1870c38e3609197ab72b2
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 */