From 3f2ff8183140d908b46d4766eb0fc9db474ff9cb Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 1 Apr 2019 15:50:38 +0200 Subject: sccp_scoc: Add more comments describing conn_id and local_ref members Change-Id: I85cabc42621103de1a83282baf210fbc117b63db --- src/sccp_scoc.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- cgit v1.2.3