sccp_scoc: Add more comments describing conn_id and local_ref members

Change-Id: I85cabc42621103de1a83282baf210fbc117b63db
This commit is contained in:
Harald Welte 2019-04-01 15:50:38 +02:00
parent 99beede80c
commit 3f2ff81831
1 changed files with 8 additions and 0 deletions

View File

@ -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;