libosmo-sigtran  1.9.0.4-dc82
Osmocom SIGTRAN library
mtp.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <osmocom/core/utils.h>
4 
5 /* Chapter 15.17.4 of Q.704 + RFC4666 3.4.5. */
6 /* Section 5.1 of ETSI EG 201 693: MTP SI code allocations (for NI= 00) */
7 enum mtp_si_ni00 {
8  MTP_SI_SNM = 0,
9  MTP_SI_STM = 1,
13  MTP_SI_DUP = 6, /* call related */
14  MTP_SI_DUP_FAC = 7, /* facility related */
18  MTP_SI_SPEECH = 11, /* speech processing element */
21  MTP_SI_GCP = 14,
22 };
23 
24 extern const struct value_string mtp_si_vals[];
25 
26 
27 /* Chapter 15.17.5 of Q.705 */
32  /* reserved */
33 };
34 
35 extern const struct value_string mtp_unavail_cause_vals[];
36 
37 static inline const char *mtp_unavail_cause_str(enum mtp_unavail_cause cs) {
38  return get_value_string(mtp_unavail_cause_vals, cs);
39 }
Definition: mtp.h:29
Definition: mtp.h:12
const struct value_string mtp_si_vals[]
Definition: osmo_ss7_vty.c:1894
Definition: mtp.h:17
static const char * mtp_unavail_cause_str(enum mtp_unavail_cause cs)
Definition: mtp.h:37
Definition: mtp.h:18
Definition: mtp.h:21
Definition: mtp.h:30
Definition: mtp.h:13
mtp_unavail_cause
Definition: mtp.h:28
Definition: mtp.h:11
mtp_si_ni00
Definition: mtp.h:7
Definition: mtp.h:9
Definition: mtp.h:8
const struct value_string mtp_unavail_cause_vals[]
Definition: osmo_ss7.c:65
Definition: mtp.h:20
Definition: mtp.h:16
Definition: mtp.h:14
Definition: mtp.h:15
Definition: mtp.h:10
Definition: mtp.h:31
Definition: mtp.h:19