Harald Welte has uploaded this change for review. (
https://gerrit.osmocom.org/13477
Change subject: sccp_scoc: Add more comments describing conn_id and local_ref
members
......................................................................
sccp_scoc: Add more comments describing conn_id and local_ref members
Change-Id: I85cabc42621103de1a83282baf210fbc117b63db
---
M src/sccp_scoc.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/77/13477/1
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 @@
/* 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;
--
To view, visit https://gerrit.osmocom.org/13477
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85cabc42621103de1a83282baf210fbc117b63db
Gerrit-Change-Number: 13477
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <[email protected]>