\doxysection{include/osmocom/sigtran/protocol/mtp.h File Reference}
\label{mtp_8h}\index{include/osmocom/sigtran/protocol/mtp.h@{include/osmocom/sigtran/protocol/mtp.h}}
{\ttfamily \#include $<$osmocom/core/utils.\+h$>$}\newline
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ mtp\+\_\+si\+\_\+ni00} \{ \newline
\textbf{ MTP\+\_\+\+SI\+\_\+\+SNM} = 0
, \textbf{ MTP\+\_\+\+SI\+\_\+\+STM} = 1
, \textbf{ MTP\+\_\+\+SI\+\_\+\+SCCP} = 3
, \textbf{ MTP\+\_\+\+SI\+\_\+\+TUP} = 4
, \newline
\textbf{ MTP\+\_\+\+SI\+\_\+\+ISUP} = 5
, \textbf{ MTP\+\_\+\+SI\+\_\+\+DUP} = 6
, \textbf{ MTP\+\_\+\+SI\+\_\+\+DUP\+\_\+\+FAC} = 7
, \textbf{ MTP\+\_\+\+SI\+\_\+\+TESTING} = 8
, \newline
\textbf{ MTP\+\_\+\+SI\+\_\+\+B\+\_\+\+ISUP} = 9
, \textbf{ MTP\+\_\+\+SI\+\_\+\+SAT\+\_\+\+ISUP} = 10
, \textbf{ MTP\+\_\+\+SI\+\_\+\+SPEECH} = 11
, \textbf{ MTP\+\_\+\+SI\+\_\+\+AAL2\+\_\+\+SIG} = 12
, \newline
\textbf{ MTP\+\_\+\+SI\+\_\+\+BICC} = 13
, \textbf{ MTP\+\_\+\+SI\+\_\+\+GCP} = 14
 \}
\item 
enum \textbf{ mtp\+\_\+unavail\+\_\+cause} \{ \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNKNOWN} = 0x0
, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNEQUIP\+\_\+\+REM\+\_\+\+USER} = 0x1
, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+INACC\+\_\+\+REM\+\_\+\+USER} = 0x2
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static const char $\ast$ \textbf{ mtp\+\_\+unavail\+\_\+cause\+\_\+str} (enum \textbf{ mtp\+\_\+unavail\+\_\+cause} cs)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct value\+\_\+string \textbf{ mtp\+\_\+si\+\_\+vals} [$\,$]
\item 
const struct value\+\_\+string \textbf{ mtp\+\_\+unavail\+\_\+cause\+\_\+vals} [$\,$]
\end{DoxyCompactItemize}


\doxysubsection{Enumeration Type Documentation}
\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2}} 
\index{mtp.h@{mtp.h}!mtp\_si\_ni00@{mtp\_si\_ni00}}
\index{mtp\_si\_ni00@{mtp\_si\_ni00}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_si\_ni00}
{\footnotesize\ttfamily enum \textbf{ mtp\+\_\+si\+\_\+ni00}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_SNM@{MTP\_SI\_SNM}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_SNM@{MTP\_SI\_SNM}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2aa88bfc2945bd256d0049d469b8dbca5f}} 
MTP\+\_\+\+SI\+\_\+\+SNM&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_STM@{MTP\_SI\_STM}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_STM@{MTP\_SI\_STM}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2ac3392a2a38745749709ff0ccecdc64c3}} 
MTP\+\_\+\+SI\+\_\+\+STM&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_SCCP@{MTP\_SI\_SCCP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_SCCP@{MTP\_SI\_SCCP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2afd4cfa32add75105b2f0bc44e15af44e}} 
MTP\+\_\+\+SI\+\_\+\+SCCP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_TUP@{MTP\_SI\_TUP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_TUP@{MTP\_SI\_TUP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2ad7686dd507d6454f2adab65679bef5bb}} 
MTP\+\_\+\+SI\+\_\+\+TUP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_ISUP@{MTP\_SI\_ISUP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_ISUP@{MTP\_SI\_ISUP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a43a4a06eaa3c80e25e5d8e53cd2da7c8}} 
MTP\+\_\+\+SI\+\_\+\+ISUP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_DUP@{MTP\_SI\_DUP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_DUP@{MTP\_SI\_DUP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a94375ea66790a51d570fc23ebc00bbf9}} 
MTP\+\_\+\+SI\+\_\+\+DUP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_DUP\_FAC@{MTP\_SI\_DUP\_FAC}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_DUP\_FAC@{MTP\_SI\_DUP\_FAC}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a81ea1f76eed321a7ec76c5c73311cfe2}} 
MTP\+\_\+\+SI\+\_\+\+DUP\+\_\+\+FAC&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_TESTING@{MTP\_SI\_TESTING}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_TESTING@{MTP\_SI\_TESTING}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a6c921601d94d263025103e817f5c79a3}} 
MTP\+\_\+\+SI\+\_\+\+TESTING&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_B\_ISUP@{MTP\_SI\_B\_ISUP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_B\_ISUP@{MTP\_SI\_B\_ISUP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a5d449204bf1240442cdaf0ffb2e82d16}} 
MTP\+\_\+\+SI\+\_\+\+B\+\_\+\+ISUP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_SAT\_ISUP@{MTP\_SI\_SAT\_ISUP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_SAT\_ISUP@{MTP\_SI\_SAT\_ISUP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a698239a99e676c64ab0548f73d9f0734}} 
MTP\+\_\+\+SI\+\_\+\+SAT\+\_\+\+ISUP&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_SPEECH@{MTP\_SI\_SPEECH}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_SPEECH@{MTP\_SI\_SPEECH}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a966037f9d4ad9758514effa64466eba7}} 
MTP\+\_\+\+SI\+\_\+\+SPEECH&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_AAL2\_SIG@{MTP\_SI\_AAL2\_SIG}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_AAL2\_SIG@{MTP\_SI\_AAL2\_SIG}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2ae71e7d13402ee20709b290f84c5b3fd8}} 
MTP\+\_\+\+SI\+\_\+\+AAL2\+\_\+\+SIG&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_BICC@{MTP\_SI\_BICC}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_BICC@{MTP\_SI\_BICC}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a22953c713354145b111b3b15359c55c4}} 
MTP\+\_\+\+SI\+\_\+\+BICC&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_GCP@{MTP\_SI\_GCP}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_GCP@{MTP\_SI\_GCP}}}\mbox{\label{mtp_8h_abbcdf8dde4c7ba50da30b262a98594d2a07b1d9bf91850c3da63581c4628a4ee5}} 
MTP\+\_\+\+SI\+\_\+\+GCP&\\
\hline

\end{DoxyEnumFields}
\mbox{\label{mtp_8h_afe2007fddc6d44703a17b13494a3b844}} 
\index{mtp.h@{mtp.h}!mtp\_unavail\_cause@{mtp\_unavail\_cause}}
\index{mtp\_unavail\_cause@{mtp\_unavail\_cause}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_unavail\_cause}
{\footnotesize\ttfamily enum \textbf{ mtp\+\_\+unavail\+\_\+cause}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_UNAVAIL\_C\_UNKNOWN@{MTP\_UNAVAIL\_C\_UNKNOWN}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_UNAVAIL\_C\_UNKNOWN@{MTP\_UNAVAIL\_C\_UNKNOWN}}}\mbox{\label{mtp_8h_afe2007fddc6d44703a17b13494a3b844a6c05bcf281fcd49b64da9e1242789f46}} 
MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNKNOWN&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_UNAVAIL\_C\_UNEQUIP\_REM\_USER@{MTP\_UNAVAIL\_C\_UNEQUIP\_REM\_USER}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_UNAVAIL\_C\_UNEQUIP\_REM\_USER@{MTP\_UNAVAIL\_C\_UNEQUIP\_REM\_USER}}}\mbox{\label{mtp_8h_afe2007fddc6d44703a17b13494a3b844a387f4ab04ce9a9e75befdb3711a9bdff}} 
MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNEQUIP\+\_\+\+REM\+\_\+\+USER&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_UNAVAIL\_C\_INACC\_REM\_USER@{MTP\_UNAVAIL\_C\_INACC\_REM\_USER}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_UNAVAIL\_C\_INACC\_REM\_USER@{MTP\_UNAVAIL\_C\_INACC\_REM\_USER}}}\mbox{\label{mtp_8h_afe2007fddc6d44703a17b13494a3b844ae5bc6cb63f34c241d136b6b806cc84f9}} 
MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+INACC\+\_\+\+REM\+\_\+\+USER&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\label{mtp_8h_a048b51f746fe69c2e64662f9aa7ffa09}} 
\index{mtp.h@{mtp.h}!mtp\_unavail\_cause\_str@{mtp\_unavail\_cause\_str}}
\index{mtp\_unavail\_cause\_str@{mtp\_unavail\_cause\_str}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_unavail\_cause\_str()}
{\footnotesize\ttfamily static const char $\ast$ mtp\+\_\+unavail\+\_\+cause\+\_\+str (\begin{DoxyParamCaption}\item[{enum \textbf{ mtp\+\_\+unavail\+\_\+cause}}]{cs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



References \textbf{ mtp\+\_\+unavail\+\_\+cause\+\_\+vals}.



\doxysubsection{Variable Documentation}
\mbox{\label{mtp_8h_a302af65ae379fd4c883fae04233ad551}} 
\index{mtp.h@{mtp.h}!mtp\_si\_vals@{mtp\_si\_vals}}
\index{mtp\_si\_vals@{mtp\_si\_vals}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_si\_vals}
{\footnotesize\ttfamily const struct value\+\_\+string mtp\+\_\+si\+\_\+vals[$\,$]\hspace{0.3cm}{\ttfamily [extern]}}



Referenced by \textbf{ \+\_\+rout\+\_\+key()}, \textbf{ write\+\_\+one\+\_\+as()}, and \textbf{ xua\+\_\+snm\+\_\+rx\+\_\+dupu()}.

\mbox{\label{mtp_8h_aa7ef388acf6473b86619b4eea1ce9654}} 
\index{mtp.h@{mtp.h}!mtp\_unavail\_cause\_vals@{mtp\_unavail\_cause\_vals}}
\index{mtp\_unavail\_cause\_vals@{mtp\_unavail\_cause\_vals}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_unavail\_cause\_vals}
{\footnotesize\ttfamily const struct value\+\_\+string mtp\+\_\+unavail\+\_\+cause\+\_\+vals[$\,$]\hspace{0.3cm}{\ttfamily [extern]}}



Referenced by \textbf{ mtp\+\_\+unavail\+\_\+cause\+\_\+str()}.