aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-04-01 15:50:38 +0200
committerHarald Welte <laforge@gnumonks.org>2019-04-01 15:50:38 +0200
commit3f2ff8183140d908b46d4766eb0fc9db474ff9cb (patch)
tree770d758b475e6d674a45339da9baad8112610710
parent99beede80cc054ac84c80d90a3aa7330cd519076 (diff)
sccp_scoc: Add more comments describing conn_id and local_ref members
-rw-r--r--src/sccp_scoc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index cb1d567..e58251f 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -83,7 +83,15 @@ struct sccp_connection {
/* local/remote addresses and identiies */
struct osmo_sccp_addr calling_addr;
struct osmo_sccp_addr called_addr;
+ /* SCCP connection identifier. Only relevant across the SCCP User SAP,
+ * i.e. between the local application using the SCCP stack provided by
+ * libosmo-sccp. Never transmitted over the wire! */
uint32_t conn_id;
+ /* SCCP Remote Connection Reference. Allocated by the remote
+ * SCCP stack to uniquely identify a SCCP connection on its end.
+ * We don't interpret it, but simply cache it here so we can use
+ * it whever sending data to the peer. Only relevant over the
+ * wire, not to be used across the SCCP user SAP */
uint32_t remote_ref;
uint32_t importance;