summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 17:57:48 +0200
committerHarald Welte <laforge@gnumonks.org>2017-01-27 09:59:31 +0100
commit6075f6ad5120b182d76266b85306a4b974109ba5 (patch)
tree6ef3b4a804e9163a59ba2bbf3ba75812ceec09b0
parenteddf1386664f8775033e0806f0d057a1047875a7 (diff)
cosmetic: sua.c: comments
Add some human readable names. Change-Id: If4aa15aae8b03c764a45b866a751eb3fbabebec1
-rw-r--r--src/sua.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sua.c b/src/sua.c
index b8e0c09..c363cdb 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -870,7 +870,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;
@@ -915,7 +915,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;
@@ -976,7 +976,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;
@@ -1030,7 +1030,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;
@@ -1082,7 +1082,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;
@@ -1127,7 +1127,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;