\doxysection{mtp.\+h} \label{mtp_8h_source}\index{include/osmocom/sigtran/protocol/mtp.h@{include/osmocom/sigtran/protocol/mtp.h}} \textbf{ Go to the documentation of this file.} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}} \DoxyCodeLine{2 } \DoxyCodeLine{3 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{4 } \DoxyCodeLine{5 \textcolor{comment}{/* Chapter 15.17.4 of Q.704 + RFC4666 3.4.5. */}} \DoxyCodeLine{6 \textcolor{comment}{/* Section 5.1 of ETSI EG 201 693: MTP SI code allocations (for NI= 00) */}} \DoxyCodeLine{7 \textcolor{keyword}{enum} mtp\_si\_ni00 \{} \DoxyCodeLine{8 MTP\_SI\_SNM = 0,} \DoxyCodeLine{9 MTP\_SI\_STM = 1,} \DoxyCodeLine{10 MTP\_SI\_SCCP = 3,} \DoxyCodeLine{11 MTP\_SI\_TUP = 4,} \DoxyCodeLine{12 MTP\_SI\_ISUP = 5,} \DoxyCodeLine{13 MTP\_SI\_DUP = 6, \textcolor{comment}{/* call related */}} \DoxyCodeLine{14 MTP\_SI\_DUP\_FAC = 7, \textcolor{comment}{/* facility related */}} \DoxyCodeLine{15 MTP\_SI\_TESTING = 8,} \DoxyCodeLine{16 MTP\_SI\_B\_ISUP = 9,} \DoxyCodeLine{17 MTP\_SI\_SAT\_ISUP = 10,} \DoxyCodeLine{18 MTP\_SI\_SPEECH = 11, \textcolor{comment}{/* speech processing element */}} \DoxyCodeLine{19 MTP\_SI\_AAL2\_SIG = 12,} \DoxyCodeLine{20 MTP\_SI\_BICC = 13,} \DoxyCodeLine{21 MTP\_SI\_GCP = 14,} \DoxyCodeLine{22 \};} \DoxyCodeLine{23 } \DoxyCodeLine{24 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }value\_string mtp\_si\_vals[];} \DoxyCodeLine{25 } \DoxyCodeLine{26 } \DoxyCodeLine{27 \textcolor{comment}{/* Chapter 15.17.5 of Q.705 */}} \DoxyCodeLine{28 \textcolor{keyword}{enum} mtp\_unavail\_cause \{} \DoxyCodeLine{29 MTP\_UNAVAIL\_C\_UNKNOWN = 0x0,} \DoxyCodeLine{30 MTP\_UNAVAIL\_C\_UNEQUIP\_REM\_USER = 0x1,} \DoxyCodeLine{31 MTP\_UNAVAIL\_C\_INACC\_REM\_USER = 0x2,} \DoxyCodeLine{32 \textcolor{comment}{/* reserved */}} \DoxyCodeLine{33 \};} \DoxyCodeLine{34 } \DoxyCodeLine{35 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }value\_string mtp\_unavail\_cause\_vals[];} \DoxyCodeLine{36 } \DoxyCodeLine{37 \textcolor{keyword}{static} \textcolor{keyword}{inline} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *mtp\_unavail\_cause\_str(\textcolor{keyword}{enum} mtp\_unavail\_cause cs) \{} \DoxyCodeLine{38 \textcolor{keywordflow}{return} get\_value\_string(mtp\_unavail\_cause\_vals, cs);} \DoxyCodeLine{39 \}} \end{DoxyCode}