\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\+\_\+si\+\_\+ni11} \{ \textbf{ MTP\+\_\+\+SI\+\_\+\+NI11\+\_\+\+OSMO\+\_\+\+IPA} = 2
 \}
\item 
enum \textbf{ mtp\+\_\+network\+\_\+indicator} \{ \textbf{ MTP\+\_\+\+NI\+\_\+\+INTERNATIONAL} = 0
, \textbf{ MTP\+\_\+\+NI\+\_\+\+SPARE\+\_\+\+INTERNATIONAL} = 1
, \textbf{ MTP\+\_\+\+NI\+\_\+\+NATIONAL} = 2
, \textbf{ MTP\+\_\+\+NI\+\_\+\+RESERVED\+\_\+\+NATIONAL} = 3
 \}
\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
, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+CONGESTED} = 0x3
 \}
\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\+\_\+network\+\_\+indicator\+\_\+vals} [$\,$]
\item 
const struct value\+\_\+string \textbf{ mtp\+\_\+unavail\+\_\+cause\+\_\+vals} [$\,$]
\end{DoxyCompactItemize}


\doxysubsection{Enumeration Type Documentation}
\mbox{\label{mtp_8h_a70c5130e8569432b107989f64451c641}} 
\index{mtp.h@{mtp.h}!mtp\_network\_indicator@{mtp\_network\_indicator}}
\index{mtp\_network\_indicator@{mtp\_network\_indicator}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_network\_indicator}
{\footnotesize\ttfamily enum \textbf{ mtp\+\_\+network\+\_\+indicator}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_NI\_INTERNATIONAL@{MTP\_NI\_INTERNATIONAL}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_NI\_INTERNATIONAL@{MTP\_NI\_INTERNATIONAL}}}\mbox{\label{mtp_8h_a70c5130e8569432b107989f64451c641adb9cc6bc78d45707a2919a4516b8ba95}} 
MTP\+\_\+\+NI\+\_\+\+INTERNATIONAL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_NI\_SPARE\_INTERNATIONAL@{MTP\_NI\_SPARE\_INTERNATIONAL}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_NI\_SPARE\_INTERNATIONAL@{MTP\_NI\_SPARE\_INTERNATIONAL}}}\mbox{\label{mtp_8h_a70c5130e8569432b107989f64451c641ad168a1f7e63938b1278709d68edcb616}} 
MTP\+\_\+\+NI\+\_\+\+SPARE\+\_\+\+INTERNATIONAL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_NI\_NATIONAL@{MTP\_NI\_NATIONAL}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_NI\_NATIONAL@{MTP\_NI\_NATIONAL}}}\mbox{\label{mtp_8h_a70c5130e8569432b107989f64451c641a2d6ebc3b3733dde178c1ac5da6ba2d39}} 
MTP\+\_\+\+NI\+\_\+\+NATIONAL&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_NI\_RESERVED\_NATIONAL@{MTP\_NI\_RESERVED\_NATIONAL}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_NI\_RESERVED\_NATIONAL@{MTP\_NI\_RESERVED\_NATIONAL}}}\mbox{\label{mtp_8h_a70c5130e8569432b107989f64451c641ab0559713a88c0c0aabcfb70c37596231}} 
MTP\+\_\+\+NI\+\_\+\+RESERVED\+\_\+\+NATIONAL&\\
\hline

\end{DoxyEnumFields}
\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_a8e3e26ab08ea4a146e150bc241cbde6c}} 
\index{mtp.h@{mtp.h}!mtp\_si\_ni11@{mtp\_si\_ni11}}
\index{mtp\_si\_ni11@{mtp\_si\_ni11}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_si\_ni11}
{\footnotesize\ttfamily enum \textbf{ mtp\+\_\+si\+\_\+ni11}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_SI\_NI11\_OSMO\_IPA@{MTP\_SI\_NI11\_OSMO\_IPA}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_SI\_NI11\_OSMO\_IPA@{MTP\_SI\_NI11\_OSMO\_IPA}}}\mbox{\label{mtp_8h_a8e3e26ab08ea4a146e150bc241cbde6caae2e78be8bbac9e25336cd0d9f4f3f25}} 
MTP\+\_\+\+SI\+\_\+\+NI11\+\_\+\+OSMO\+\_\+\+IPA&\\
\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

\raisebox{\heightof{T}}[0pt][0pt]{\index{MTP\_UNAVAIL\_C\_CONGESTED@{MTP\_UNAVAIL\_C\_CONGESTED}!mtp.h@{mtp.h}}\index{mtp.h@{mtp.h}!MTP\_UNAVAIL\_C\_CONGESTED@{MTP\_UNAVAIL\_C\_CONGESTED}}}\mbox{\label{mtp_8h_afe2007fddc6d44703a17b13494a3b844abe9638ee8a6f3d2fb8adc051b19b4046}} 
MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+CONGESTED&\\
\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_a79b82bade6d2ae8f0462e97d39922622}} 
\index{mtp.h@{mtp.h}!mtp\_network\_indicator\_vals@{mtp\_network\_indicator\_vals}}
\index{mtp\_network\_indicator\_vals@{mtp\_network\_indicator\_vals}!mtp.h@{mtp.h}}
\doxysubsubsection{mtp\_network\_indicator\_vals}
{\footnotesize\ttfamily const struct value\+\_\+string mtp\+\_\+network\+\_\+indicator\+\_\+vals[$\,$]\hspace{0.3cm}{\ttfamily [extern]}}



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, and \textbf{ write\+\_\+one\+\_\+cs7()}.

\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{ ss7\+\_\+vty\+\_\+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()}.

