diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-01-16 19:12:26 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-01-17 14:41:53 +0100 |
commit | 5a7eb34f735e0ae93a74da3bc8361454457e49cd (patch) | |
tree | 5ea89b38f32f2a460f3d0ab82ce85bb20f6f05d8 /src/sccp_types.c | |
parent | 060b39223e030d25d6bfbe2486469c69e4209b7c (diff) |
sccp: Improve logging in sccp_to_xua_opt()
Change-Id: Icb3f18f34ecfe0602c6e491b61107a30287dcafb
Diffstat (limited to 'src/sccp_types.c')
-rw-r--r-- | src/sccp_types.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/sccp_types.c b/src/sccp_types.c index c6e24cc..98b3fa4 100644 --- a/src/sccp_types.c +++ b/src/sccp_types.c @@ -24,3 +24,28 @@ const struct value_string osmo_sccp_msg_type_names[] = { { SCCP_MSG_TYPE_LUDTS, "Long unitdata service" }, {} }; + +/* Table 2/Q.713 - SCCP parameter name codes */ +const struct value_string osmo_sccp_pnc_names[] = { + { SCCP_PNC_END_OF_OPTIONAL, "End of optional parameters" }, + { SCCP_PNC_DESTINATION_LOCAL_REFERENCE, "Destination local reference" }, + { SCCP_PNC_SOURCE_LOCAL_REFERENCE, "Source local reference" }, + { SCCP_PNC_CALLED_PARTY_ADDRESS, "Called party address" }, + { SCCP_PNC_CALLING_PARTY_ADDRESS, "Calling party address" }, + { SCCP_PNC_PROTOCOL_CLASS, "Protocol class" }, + { SCCP_PNC_SEGMENTING, "Segmenting/reassembling" }, + { SCCP_PNC_RECEIVE_SEQ_NUMBER, "Receive sequence number" }, + { SCCP_PNC_SEQUENCING, "Sequencing/segmenting" }, + { SCCP_PNC_CREDIT, "Credit" }, + { SCCP_PNC_RELEASE_CAUSE, "Release cause" }, + { SCCP_PNC_RETURN_CAUSE, "Return cause" }, + { SCCP_PNC_RESET_CAUSE, "Reset cause" }, + { SCCP_PNC_ERROR_CAUSE, "Error cause" }, + { SCCP_PNC_REFUSAL_CAUSE, "Refusal cause" }, + { SCCP_PNC_DATA, "Data" }, + { SCCP_PNC_SEGMENTATION, "Segmentation" }, + { SCCP_PNC_HOP_COUNTER, "Hop counter" }, + { SCCP_PNC_IMPORTANCE, "Importance" }, + { SCCP_PNC_LONG_DATA, "Long data" }, + {} +}; |