\doxysection{include/osmocom/sigtran/mtp\+\_\+sap.h File Reference} \label{mtp__sap_8h}\index{include/osmocom/sigtran/mtp\_sap.h@{include/osmocom/sigtran/mtp\_sap.h}} {\ttfamily \#include $<$stdint.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/prim.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/sigtran\+\_\+sap.\+h$>$}\newline \doxysubsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \textbf{ osmo\+\_\+mtp\+\_\+transfer\+\_\+param} \item struct \textbf{ osmo\+\_\+mtp\+\_\+pause\+\_\+param} \item struct \textbf{ osmo\+\_\+mtp\+\_\+resume\+\_\+param} \item struct \textbf{ osmo\+\_\+mtp\+\_\+status\+\_\+param} \item struct \textbf{ osmo\+\_\+mtp\+\_\+prim} \end{DoxyCompactItemize} \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item \#define \textbf{ MTP\+\_\+\+SIO}(service, net\+\_\+ind)~(((net\+\_\+ind \& 0x3) $<$$<$ 6) $\vert$ (service \& 0xF)) \item \#define \textbf{ msgb\+\_\+mtp\+\_\+prim}(msg)~((struct \textbf{ osmo\+\_\+mtp\+\_\+prim} $\ast$)(msg)-\/$>$l1h) \end{DoxyCompactItemize} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \textbf{ osmo\+\_\+mtp\+\_\+prim\+\_\+type} \{ \textbf{ OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+TRANSFER} , \textbf{ OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+PAUSE} , \textbf{ OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+RESUME} , \textbf{ OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+STATUS} \} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item char $\ast$ \textbf{ osmo\+\_\+mtp\+\_\+prim\+\_\+name} (struct osmo\+\_\+prim\+\_\+hdr $\ast$oph) \end{DoxyCompactItemize} \doxysubsection{Macro Definition Documentation} \mbox{\label{mtp__sap_8h_a463c0a286464fef0cdeb0e29b3c1cf18}} \index{mtp\_sap.h@{mtp\_sap.h}!msgb\_mtp\_prim@{msgb\_mtp\_prim}} \index{msgb\_mtp\_prim@{msgb\_mtp\_prim}!mtp\_sap.h@{mtp\_sap.h}} \doxysubsubsection{msgb\_mtp\_prim} {\footnotesize\ttfamily \#define msgb\+\_\+mtp\+\_\+prim(\begin{DoxyParamCaption}\item[{}]{msg }\end{DoxyParamCaption})~((struct \textbf{ osmo\+\_\+mtp\+\_\+prim} $\ast$)(msg)-\/$>$l1h)} \mbox{\label{mtp__sap_8h_a955b021ad7245dc7ada3779bfd1c6d62}} \index{mtp\_sap.h@{mtp\_sap.h}!MTP\_SIO@{MTP\_SIO}} \index{MTP\_SIO@{MTP\_SIO}!mtp\_sap.h@{mtp\_sap.h}} \doxysubsubsection{MTP\_SIO} {\footnotesize\ttfamily \#define MTP\+\_\+\+SIO(\begin{DoxyParamCaption}\item[{}]{service, }\item[{}]{net\+\_\+ind }\end{DoxyParamCaption})~(((net\+\_\+ind \& 0x3) $<$$<$ 6) $\vert$ (service \& 0xF))} \doxysubsection{Enumeration Type Documentation} \mbox{\label{mtp__sap_8h_ac292c93d961c40235b9771772a327f80}} \index{mtp\_sap.h@{mtp\_sap.h}!osmo\_mtp\_prim\_type@{osmo\_mtp\_prim\_type}} \index{osmo\_mtp\_prim\_type@{osmo\_mtp\_prim\_type}!mtp\_sap.h@{mtp\_sap.h}} \doxysubsubsection{osmo\_mtp\_prim\_type} {\footnotesize\ttfamily enum \textbf{ osmo\+\_\+mtp\+\_\+prim\+\_\+type}} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_MTP\_PRIM\_TRANSFER@{OSMO\_MTP\_PRIM\_TRANSFER}!mtp\_sap.h@{mtp\_sap.h}}\index{mtp\_sap.h@{mtp\_sap.h}!OSMO\_MTP\_PRIM\_TRANSFER@{OSMO\_MTP\_PRIM\_TRANSFER}}}\mbox{\label{mtp__sap_8h_ac292c93d961c40235b9771772a327f80a85539b3d6cb98c30acb29daf4d5e1acc}} OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+TRANSFER&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_MTP\_PRIM\_PAUSE@{OSMO\_MTP\_PRIM\_PAUSE}!mtp\_sap.h@{mtp\_sap.h}}\index{mtp\_sap.h@{mtp\_sap.h}!OSMO\_MTP\_PRIM\_PAUSE@{OSMO\_MTP\_PRIM\_PAUSE}}}\mbox{\label{mtp__sap_8h_ac292c93d961c40235b9771772a327f80a93bb547c492a35dac5a47396a920cd65}} OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+PAUSE&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_MTP\_PRIM\_RESUME@{OSMO\_MTP\_PRIM\_RESUME}!mtp\_sap.h@{mtp\_sap.h}}\index{mtp\_sap.h@{mtp\_sap.h}!OSMO\_MTP\_PRIM\_RESUME@{OSMO\_MTP\_PRIM\_RESUME}}}\mbox{\label{mtp__sap_8h_ac292c93d961c40235b9771772a327f80a7ba9a90fbdc8edcf206aeae92e56ac1c}} OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+RESUME&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_MTP\_PRIM\_STATUS@{OSMO\_MTP\_PRIM\_STATUS}!mtp\_sap.h@{mtp\_sap.h}}\index{mtp\_sap.h@{mtp\_sap.h}!OSMO\_MTP\_PRIM\_STATUS@{OSMO\_MTP\_PRIM\_STATUS}}}\mbox{\label{mtp__sap_8h_ac292c93d961c40235b9771772a327f80af3c2b7a95643d9f6b408c2b305b88307}} OSMO\+\_\+\+MTP\+\_\+\+PRIM\+\_\+\+STATUS&\\ \hline \end{DoxyEnumFields} \doxysubsection{Function Documentation} \mbox{\label{mtp__sap_8h_a4c7731ca07b811d131418ab5521db225}} \index{mtp\_sap.h@{mtp\_sap.h}!osmo\_mtp\_prim\_name@{osmo\_mtp\_prim\_name}} \index{osmo\_mtp\_prim\_name@{osmo\_mtp\_prim\_name}!mtp\_sap.h@{mtp\_sap.h}} \doxysubsubsection{osmo\_mtp\_prim\_name()} {\footnotesize\ttfamily char $\ast$ osmo\+\_\+mtp\+\_\+prim\+\_\+name (\begin{DoxyParamCaption}\item[{struct osmo\+\_\+prim\+\_\+hdr $\ast$}]{oph }\end{DoxyParamCaption})}