aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 17:57:48 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-27 17:14:53 +0200
commite5586a66338f1c1792bc921b34de67bf838625cc (patch)
tree2a7114ec901562af0d23aaa3371d9e514212910e
parentfe97ae7955f95e5959db856e2501b89ba88450d2 (diff)
cosmetic: sua.c: comments
Add some human readable names.
-rw-r--r--src/sua.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sua.c b/src/sua.c
index 891131d..29ddbdf 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -873,7 +873,7 @@ static int sua_rx_cl(struct osmo_sccp_link *link,
return rc;
}
-/* RFC 3868 3.3.3 / SCCP CR */
+/* RFC 3868 3.3.3 / SCCP CR (Connection Request) */
static int sua_rx_core(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;
@@ -918,7 +918,7 @@ static int sua_rx_core(struct osmo_sccp_link *link, struct xua_msg *xua)
return 0;
}
-/* RFC 3868 3.3.4 / SCCP CC */
+/* RFC 3868 3.3.4 / SCCP CC (Connection Confirm) */
static int sua_rx_coak(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;
@@ -979,7 +979,7 @@ static int sua_rx_coak(struct osmo_sccp_link *link, struct xua_msg *xua)
return 0;
}
-/* RFC 3868 3.3.5 / SCCP CREF */
+/* RFC 3868 3.3.5 / SCCP CREF (Connection Refused) */
static int sua_rx_coref(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;
@@ -1033,7 +1033,7 @@ static int sua_rx_coref(struct osmo_sccp_link *link, struct xua_msg *xua)
return 0;
}
-/* RFC 3868 3.3.6 / SCCP RLSD */
+/* RFC 3868 3.3.6 / SCCP RLSD (Released) */
static int sua_rx_relre(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;
@@ -1085,7 +1085,7 @@ static int sua_rx_relre(struct osmo_sccp_link *link, struct xua_msg *xua)
return 0;
}
-/* RFC 3868 3.3.7 / SCCP RLC */
+/* RFC 3868 3.3.7 / SCCP RLC (Release Complete)*/
static int sua_rx_relco(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;
@@ -1130,7 +1130,7 @@ static int sua_rx_relco(struct osmo_sccp_link *link, struct xua_msg *xua)
}
-/* RFC3868 3.3.1 / SCCP DT1 */
+/* RFC3868 3.3.1 / SCCP DT1 (Data Form 1) */
static int sua_rx_codt(struct osmo_sccp_link *link, struct xua_msg *xua)
{
struct osmo_scu_prim *prim;